public function __construct($id = null, $name = null) { parent::__construct($id, self::KIWI_MODULE_TEXT); $this->_attributes->register('name', $name); $this->_attributes->register('content'); $this->_attributes->register('lastchange'); if ($this->id !== null || $this->name !== null) { $this->loadData(); } }
public function initialize() { if ($this->_initialized) { throw new View_Already_Initialized_Exception(__CLASS__, $this->vid); } else { $this->_initialize(); $this->_initialized = true; if ($this->ifmodactive !== NULL && $this->active) { $this->active = Kiwi_Module::getModuleActiveStatus($this->ifmodactive); } } }
public function __construct($id = null, $name = null, $ngid = null, $newsgroup = null, $size = null, $listmode = null, $pagination = null, $detailpage = null) { parent::__construct($id, self::KIWI_MODULE_NEWS); $this->_attributes->register('name', $name); $this->_attributes->register('ngid', $ngid); $this->_attributes->register('newsgroup', $newsgroup); $this->_attributes->register('size', $size); $this->_attributes->register('listmode', $listmode); $this->_attributes->register('pagination', $pagination); $this->_attributes->register('detailpage', $detailpage); $this->_attributes->register('lastchange'); if ($this->id !== null || $this->name !== null) { $this->loadData(); } }
public function __construct($id = null, $name = null, $ggid = null, $ggroup = null, $ggsize = null, $gggsize = null, $gsize = null, $pagination = null, $detailpage = null) { parent::__construct($id, self::KIWI_MODULE_GALLERY); $this->_attributes->register('name', $name); $this->_attributes->register('ggid', $ggid); $this->_attributes->register('ggroup', $ggroup); $this->_attributes->register('ggshortdesc'); $this->_attributes->register('gglongdesc'); $this->_attributes->register('ggauthor'); $this->_attributes->register('ggwhen'); $this->_attributes->register('ggsize', $ggsize); $this->_attributes->register('gggsize', $gggsize); $this->_attributes->register('gsize', $gsize); $this->_attributes->register('pagination', $pagination); $this->_attributes->register('detailpage', $detailpage); $this->_attributes->register('lastchange'); if ($this->id !== null || $this->name !== null) { $this->loadData(); } }