sectionExists ($input ['section'])) $this->section = $business->getSection ($input ['section']); else $this->section = $business->getSection (Section::TCURRENT); if (isset ($input ['label']) && trim ($input ['label']) != '') $this->label = translate ($input ['label']); else $this->label = __ ('RSS Feed'); if (isset ($input ['image']) && trim ($input ['image']) != '') $this->image = $input ['image']; else $this->image = 'rss.png'; } public function getMenuItem () { if (Instance::singleton ()->getFriendlyUrl ('rss') == '') $link = Instance::singleton ()->getUrl () .'titan.php?target=rss&toSection='. $this->section->getName (); else $link = Instance::singleton ()->getUrl () . Instance::singleton ()->getFriendlyUrl ('rss') .'/'. $this->section->getName (); return '