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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.