mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
docs improvment (#18935)
This commit is contained in:
@ -167,7 +167,7 @@ trait ActiveRelationTrait
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Finds the related records for the specified primary record.
|
* 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.
|
* This method is invoked when a relation of an ActiveRecord is being accessed lazily.
|
||||||
* @param string $name the relation name
|
* @param string $name the relation name
|
||||||
* @param ActiveRecordInterface|BaseActiveRecord $model the primary model
|
* @param ActiveRecordInterface|BaseActiveRecord $model the primary model
|
||||||
* @return mixed the related record(s)
|
* @return mixed the related record(s)
|
||||||
@ -589,7 +589,7 @@ trait ActiveRelationTrait
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param mixed $value raw key value. Since 2.0.40 non-string values must be convertable to string (like special
|
* @param mixed $value raw key value. Since 2.0.40 non-string values must be convertible to string (like special
|
||||||
* objects for cross-DBMS relations, for example: `|MongoId`).
|
* objects for cross-DBMS relations, for example: `|MongoId`).
|
||||||
* @return string normalized key value.
|
* @return string normalized key value.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user