db\ActiveQueryInterface findFor()

findFor() public abstract method

Finds the related records for the specified primary record.

This method is invoked when a relation of an ActiveRecord is being accessed in a lazy fashion.

public abstract mixed findFor ( $name, $model )
$name string

The relation name

$model yii\db\ActiveRecordInterface

The primary model

return mixed

The related record(s)

doc_Yii
2016-10-30 16:56:14
Comments
Leave a Comment

Please login to continue.