Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
db
ActiveQueryInterface
findFor
yii\db\ActiveQueryInterface::findFor PHP 메소드
ActiveQueryInterface 0 문서
파일 보기
프로젝트 열기: yiisoft/yii2
findFor()
공개
메소드
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
리턴
mixed
the related record(s)
public function findFor($name, $model);
ActiveQueryInterface
asArray
findFor
indexBy
one
via
with