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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.