Skip to content

Commit

Permalink
php-doc
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
cebe committed Nov 7, 2013
1 parent c4468ac commit 0bc8cbf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions framework/yii/db/ActiveRecord.php
Expand Up @@ -521,7 +521,7 @@ public function hasMany($class, $link)
/**
* 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)
Expand All @@ -531,7 +531,7 @@ public function populateRelation($name, $records)

/**
* 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)
Expand All @@ -540,7 +540,8 @@ public function isRelationPopulated($name)
}

/**
* @return array all populated relations
* Returns all populated relations.
* @return array an array of relation data indexed by relation names.
*/
public function getPopulatedRelations()
{
Expand Down

0 comments on commit 0bc8cbf

Please sign in to comment.