feedList = new sortableListing(); $this->feedList->setDeleteable(false); $this->feedList->setEditable(false); # $this->feedList->setColspecs(array('30px','120px','*','100px')); # $this->feedList->setHeader(array('?',_("Name"),_("Descriptio"),_("Status"))); $this->feedList->setWidth("100%"); # $this->feedList->setDefaultSortColumn(1); $this->feedList->setHeight("200px"); $this->feedList->setAcl("rwcdm"); } function execute() { $smarty = get_smarty(); $feeds = rssReader::feadToArray('http://www.computerbild.de/rssfeed_2261.html?node=10'); $data = $lData = array(); foreach($feeds as $key => $feed){ $data[$key] = $feed; $lData[$key] = array('data'=> array(date('H:i:s', $feed['timestamp']),$feed['title'])); } $this->feedList->setListData($data, $lData); $this->feedList->update(); $smarty->assign('feedList', $this->feedList->render()); return($smarty->fetch(get_template_path('dbInformation/contents.tpl', TRUE))); } function save_object() { parent::save_object(); } function save() { parent::save(); } function check() { return(parent::check()); } function remove_from_parent() { parent::remove_from_parent(); } } ?>