init() public method Initializes the object.
viaTable() public method Specifies the junction table
EVENT_INIT event of type \yii\db\Event An event that is triggered
queryScalar() protected method Queries a scalar value
__construct() public method Constructor.
onCondition() public method Sets the ON condition for
$sql public property The SQL statement to be executed for retrieving
$joinWith public property A list of relations that this query
joinWith() public method Joins with the specified relations
all() public method Executes query and returns all results
Page 1 of 2