mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-11 19:20:01 +08:00
Fix version in since tag
This commit is contained in:
committed by
GitHub
parent
4c959b5390
commit
dffb4c7529
@@ -1806,7 +1806,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
|
|||||||
* - active record instance represented by array (i.e. active record was loaded using [[ActiveQuery::asArray()]]).
|
* - active record instance represented by array (i.e. active record was loaded using [[ActiveQuery::asArray()]]).
|
||||||
* @param string|array $relationNames the names of the relations of primary models to be loaded from database. See [[ActiveQueryInterface::with()]] on how to specify this argument.
|
* @param string|array $relationNames the names of the relations of primary models to be loaded from database. See [[ActiveQueryInterface::with()]] on how to specify this argument.
|
||||||
* @param bool $asArray whether to load each related model as an array or an object (if the relation itself does not specify that).
|
* @param bool $asArray whether to load each related model as an array or an object (if the relation itself does not specify that).
|
||||||
* @since 2.0.49
|
* @since 2.0.50
|
||||||
*/
|
*/
|
||||||
public static function loadRelationsFor(&$models, $relationNames, $asArray = false)
|
public static function loadRelationsFor(&$models, $relationNames, $asArray = false)
|
||||||
{
|
{
|
||||||
@@ -1833,7 +1833,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
|
|||||||
*
|
*
|
||||||
* @param string|array $relationNames the names of the relations of this model to be loaded from database. See [[ActiveQueryInterface::with()]] on how to specify this argument.
|
* @param string|array $relationNames the names of the relations of this model to be loaded from database. See [[ActiveQueryInterface::with()]] on how to specify this argument.
|
||||||
* @param bool $asArray whether to load each relation as an array or an object (if the relation itself does not specify that).
|
* @param bool $asArray whether to load each relation as an array or an object (if the relation itself does not specify that).
|
||||||
* @since 2.0.49
|
* @since 2.0.50
|
||||||
*/
|
*/
|
||||||
public function loadRelations($relationNames, $asArray = false)
|
public function loadRelations($relationNames, $asArray = false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user