/** * Determines if the node has children / descendants * * @return bool */ public function hasChildren() { return sfAssetFolderPeer::hasChildren($this); }