db\BaseActiveRecord isRelationPopulated()

isRelationPopulated() public method

Check whether the named relation has been populated with records.

See also getRelation().

public boolean isRelationPopulated ( $name )
$name string

The relation name, e.g. orders for a relation defined via getOrders() method (case-sensitive).

return boolean

Whether relation has been populated with records.

doc_Yii
2016-10-30 16:56:50
Comments
Leave a Comment

Please login to continue.