classes/scheduler/Building.inc.php

Go to the documentation of this file.
00001 <?php
00002 
00016 //$Id$
00017 
00018 class Building extends DataObject {
00019    //
00020    // Get/set methods
00021    //
00022 
00027    function getBuildingId() {
00028       if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00029       return $this->getId();
00030    }
00031 
00036    function setBuildingId($buildingId) {
00037       if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00038       return $this->setId($buildingId);
00039    }
00040 
00045    function getSchedConfId() {
00046       return $this->getData('schedConfId');
00047    }
00048 
00053    function setSchedConfId($schedConfId) {
00054       return $this->setData('schedConfId', $schedConfId);
00055    }
00056 
00061    function getBuildingName() {
00062       return $this->getLocalizedData('name');
00063    }
00064 
00070    function getName($locale) {
00071       return $this->getData('name', $locale);
00072    }
00073 
00079    function setName($name, $locale) {
00080       return $this->setData('name', $name, $locale);
00081    }
00082 
00087    function getBuildingAbbrev() {
00088       return $this->getLocalizedData('abbrev');
00089    }
00090 
00096    function getAbbrev($locale) {
00097       return $this->getData('abbrev', $locale);
00098    }
00099 
00105    function setAbbrev($abbrev, $locale) {
00106       return $this->setData('abbrev', $abbrev, $locale);
00107    }
00108 
00113    function getBuildingDescription() {
00114       return $this->getLocalizedData('description');
00115    }
00116 
00122    function getDescription($locale) {
00123       return $this->getData('description', $locale);
00124    }
00125 
00131    function setDescription($description, $locale) {
00132       return $this->setData('description', $description, $locale);
00133    }
00134 }
00135 
00136 ?>

Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7