protected function _getResourceText(Kwf_Component_Data $c) { if (Kwc_Abstract::hasSetting($this->_class, 'componentNameShort')) { $name = Kwc_Abstract::getSetting($this->_class, 'componentNameShort'); } else { $name = Kwc_Abstract::getSetting($this->_class, 'componentName'); } $t = $c->getTitle(); if (!$t) { $t = $name; } if ($domain = $c->getParentByClass('Kwc_Root_DomainRoot_Domain_Component')) { $t .= " ({$domain->name})"; } return $t; }
protected function _getRssEntryByItem(Kwf_Component_Data $item) { return array('title' => $item->getTitle(), 'description' => '', 'link' => $item->getAbsoluteUrl(), 'guid' => $item->id); }