예제 #1
0
파일: Zone.php 프로젝트: jfesquet/tempos
 public function getRooms($activities = null)
 {
     $result = $this->getDirectRooms($activities);
     $children = ZonePeer::doSelectChildrenZones($this->getId());
     foreach ($children as $child) {
         $result = array_merge($result, $child->getRooms($activities));
     }
     return array_unique($result);
 }