From 0bc8cbf1589f052d9456483e05530b0676291150 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 7 Nov 2013 11:18:16 +0100 Subject: [PATCH] php-doc [ci skip] --- framework/yii/db/ActiveRecord.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/framework/yii/db/ActiveRecord.php b/framework/yii/db/ActiveRecord.php index 8b376b4..830bf40 100644 --- a/framework/yii/db/ActiveRecord.php +++ b/framework/yii/db/ActiveRecord.php @@ -521,7 +521,7 @@ class ActiveRecord extends Model /** * Populates the named relation with the related records. * Note that this method does not check if the relation exists or not. - * @param string $name the relation name (case-insensitive) + * @param string $name the relation name (case-sensitive) * @param ActiveRecord|array|null the related records to be populated into the relation. */ public function populateRelation($name, $records) @@ -531,7 +531,7 @@ class ActiveRecord extends Model /** * Check whether the named relation has been populated with records. - * @param string $name the relation name (case-insensitive) + * @param string $name the relation name (case-sensitive) * @return bool whether relation has been populated with records. */ public function isRelationPopulated($name) @@ -540,7 +540,8 @@ class ActiveRecord extends Model } /** - * @return array all populated relations + * Returns all populated relations. + * @return array an array of relation data indexed by relation names. */ public function getPopulatedRelations() {