00001 <?php
00002
00020
00021
00022 class SpecialEvent extends DataObject {
00023
00024
00025
00026
00031 function getSpecialEventId() {
00032 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00033 return $this->getId();
00034 }
00035
00040 function setSpecialEventId($specialEventId) {
00041 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00042 return $this->setId($specialEventId);
00043 }
00044
00049 function getSchedConfId() {
00050 return $this->getData('schedConfId');
00051 }
00052
00057 function setSchedConfId($schedConfId) {
00058 return $this->setData('schedConfId', $schedConfId);
00059 }
00060
00065 function getStartTime() {
00066 return $this->getData('startTime');
00067 }
00068
00073 function setStartTime($startTime) {
00074 return $this->setData('startTime', $startTime);
00075 }
00076
00081 function getEndTime() {
00082 return $this->getData('endTime');
00083 }
00084
00089 function setEndTime($endTime) {
00090 return $this->setData('endTime', $endTime);
00091 }
00092
00097 function getSpecialEventName() {
00098 return $this->getLocalizedData('name');
00099 }
00100
00106 function getName($locale) {
00107 return $this->getData('name', $locale);
00108 }
00109
00115 function setName($name, $locale) {
00116 return $this->setData('name', $name, $locale);
00117 }
00118
00123 function getSpecialEventDescription() {
00124 return $this->getLocalizedData('description');
00125 }
00126
00132 function getDescription($locale) {
00133 return $this->getData('description', $locale);
00134 }
00135
00141 function setDescription($description, $locale) {
00142 return $this->setData('description', $description, $locale);
00143 }
00144 }
00145
00146 ?>