Exemplo n.º 1
0
 /**
  * Internal function to return a Building object from a row.
  * @param $row array
  * @return Building
  */
 function &_returnBuildingFromRow(&$row)
 {
     $building = new Building();
     $building->setId($row['building_id']);
     $building->setSchedConfId($row['sched_conf_id']);
     $this->getDataObjectSettings('building_settings', 'building_id', $row['building_id'], $building);
     return $building;
 }