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