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
__construct() public method Constructor.
$joinWith public property A list of relations that this query
$sql public property The SQL statement to be executed for retrieving
all() public method Executes query and returns all results
joinWith() public method Joins with the specified relations
onCondition() public method Sets the ON condition for
Page 1 of 2