00001 <?php
00002
00018 class TimeBlock extends DataObject {
00019
00020
00021
00022
00027 function getTimeBlockId() {
00028 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00029 return $this->getId();
00030 }
00031
00036 function setTimeBlockId($timeBlockId) {
00037 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00038 return $this->setId($timeBlockId);
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 getStartTime() {
00062 return $this->getData('startTime');
00063 }
00064
00069 function setStartTime($startTime) {
00070 return $this->setData('startTime', $startTime);
00071 }
00072
00077 function getEndTime() {
00078 return $this->getData('endTime');
00079 }
00080
00085 function setEndTime($endTime) {
00086 return $this->setData('endTime', $endTime);
00087 }
00088
00094 function getName($locale) {
00095 return $this->getData('name', $locale);
00096 }
00097
00103 function setName($name, $locale) {
00104 return $this->setData('name', $name, $locale);
00105 }
00106
00111 function getAssignedColour() {
00112 return $this->getData('assignedColour');
00113 }
00114
00119 function setAssignedColour($assignedColour) {
00120 return $this->setData('assignedColour', $assignedColour);
00121 }
00122
00127 function getUnassignedColour() {
00128 return $this->getData('unassignedColour');
00129 }
00130
00135 function setUnassignedColour($unassignedColour) {
00136 return $this->setData('unassignedColour', $unassignedColour);
00137 }
00138 }
00139
00140 ?>