00001 <?php
00002
00014 class StaticPage extends DataObject {
00015
00016
00017
00018
00023 function getConferenceId(){
00024 return $this->getData('conferenceId');
00025 }
00026
00031 function setConferenceId($conferenceId) {
00032 return $this->setData('conferenceId', $conferenceId);
00033 }
00034
00035
00041 function setTitle($title, $locale) {
00042 return $this->setData('title', $title, $locale);
00043 }
00044
00050 function getTitle($locale) {
00051 return $this->getData('title', $locale);
00052 }
00053
00058 function getStaticPageTitle() {
00059 return $this->getLocalizedData('title');
00060 }
00061
00067 function setContent($content, $locale) {
00068 return $this->setData('content', $content, $locale);
00069 }
00070
00076 function getContent($locale) {
00077 return $this->getData('content', $locale);
00078 }
00079
00084 function getStaticPageContent() {
00085 return $this->getLocalizedData('content');
00086 }
00087
00092 function getPath() {
00093 return $this->getData('path');
00094 }
00095
00100 function setPath($path) {
00101 return $this->setData('path', $path);
00102 }
00103
00108 function getStaticPageId() {
00109 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00110 return $this->getId();
00111 }
00112
00117 function setStaticPageId($staticPageId) {
00118 if (Config::getVar('debug', 'deprecation_warnings')) trigger_error('Deprecated function.');
00119 return $this->setId($staticPageId);
00120 }
00121 }
00122
00123 ?>