public function getAllChildrenZoneObjectsCount() { if ($this->isNew()) { return 0; } return ZonePeer::doCountAllChildrenZones($this->getId()); }