Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
db
ActiveQueryInterface
findFor
yii\db\ActiveQueryInterface::findFor PHP Method
ActiveQueryInterface Interface Documentation
ファイルを表示
Open project: yiisoft/yii2
findFor()
public
method
This method is invoked when a relation of an ActiveRecord is being accessed in a lazy fashion.
public
findFor
(
string
$name
,
yii\db\ActiveRecordInterface
$model
) :
mixed
$name
string
the relation name
$model
yii\db\ActiveRecordInterface
the primary model
return
mixed
the related record(s)
public function findFor($name, $model);
ActiveQueryInterface
asArray
findFor
indexBy
one
via
with