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

classes/press/Category.inc.php

00001 <?php
00002 
00016 class Category extends DataObject {
00020    function Category() {
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 getParentId() {
00045       return $this->getData('parentId');
00046    }
00047 
00052    function setParentId($parentId) {
00053       return $this->setData('parentId', $parentId);
00054    }
00055 
00060    function getPath() {
00061       return $this->getData('path');
00062    }
00063 
00068    function setPath($path) {
00069       return $this->setData('path', $path);
00070    }
00071 
00076    function getLocalizedTitle() {
00077       return $this->getLocalizedData('title');
00078    }
00079 
00085    function getTitle($locale) {
00086       return $this->getData('title', $locale);
00087    }
00088 
00094    function setTitle($title, $locale) {
00095       return $this->setData('title', $title, $locale);
00096    }
00097 
00102    function getLocalizedDescription() {
00103       return $this->getLocalizedData('description');
00104    }
00105 
00111    function getDescription($locale) {
00112       return $this->getData('description', $locale);
00113    }
00114 
00120    function setDescription($description, $locale) {
00121       return $this->setData('description', $description, $locale);
00122    }
00123 
00128    function getImage() {
00129       return $this->getData('image');
00130    }
00131 
00136    function setImage($image) {
00137       return $this->setData('image', $image);
00138    }
00139 }
00140 
00141 ?>

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