• Main Page
  • Modules
  • Classes
  • Files
  • File List

classes/press/FooterCategory.inc.php

00001 <?php
00002 
00016 class FooterCategory extends DataObject {
00020    function FooterCategory() {
00021       parent::DataObject();
00022    }
00023 
00028    function getPressId() {
00029       return $this->getData('pressId');
00030    }
00031 
00036    function setPressId($pressId) {
00037       return $this->setData('pressId', $pressId);
00038    }
00039 
00044    function getPath() {
00045       return $this->getData('path');
00046    }
00047 
00052    function setPath($path) {
00053       return $this->setData('path', $path);
00054    }
00055 
00060    function getLocalizedTitle() {
00061       return $this->getLocalizedData('title');
00062    }
00063 
00069    function getTitle($locale) {
00070       return $this->getData('title', $locale);
00071    }
00072 
00078    function setTitle($title, $locale) {
00079       return $this->setData('title', $title, $locale);
00080    }
00081 
00086    function getLocalizedDescription() {
00087       return $this->getLocalizedData('description');
00088    }
00089 
00095    function getDescription($locale) {
00096       return $this->getData('description', $locale);
00097    }
00098 
00104    function setDescription($description, $locale) {
00105       return $this->setData('description', $description, $locale);
00106    }
00107 
00112    function getLinks() {
00113       $footerLinkDao =& DAORegistry::getDAO('FooterLinkDAO');
00114       $footerLinks =& $footerLinkDao->getByCategoryId($this->getId(), $this->getPressId());
00115       return $footerLinks->toArray();
00116    }
00117 }
00118 
00119 ?>

Generated on Mon Sep 17 2012 13:58:55 for Open Monograph Press by  doxygen 1.7.1