findWith() public method
Finds records corresponding to one or multiple relations and populates them into the primary models.
public void findWith ( $with, &$models ) | ||
---|---|---|
$with | array |
A list of relations that this query should be performed with. Please refer to with() for details about specifying this parameter. |
$models | array|yii\db\ActiveRecord[] |
The primary models (can be either AR instances or arrays) |
Please login to continue.