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