getTemplate('view.tpl'); $item['list'] = array(); $workObj = new App_Projects_AdminObj(); $item['list'][] = array( 'title' => 'Our Work', 'lastUpdated' => $workObj->getLastUpdated(), // days 'newUrl' => 'admin/projects?action=new', 'newUrlTitle' => 'Add New Work', ); $bannerObj = new App_Slide_AdminObj(); $item['list'][] = array( 'title' => 'Featured Slides', 'lastUpdated' => $bannerObj->getLastUpdated(), // days 'newUrl' => 'admin/slide?action=new', 'newUrlTitle' => 'Add Featured Slide', ); $newsObj = new App_News_AdminObj(); $item['list'][] = array( 'title' => 'News', 'lastUpdated' => $newsObj->getLastUpdated(), // days 'newUrl' => 'admin/news?action=new', 'newUrlTitle' => 'Add News Item', ); $activityObj = new App_UserActivity_AdminObj(); $item['traffic'] = $activityObj->getActivity(); $this->_addItem($item); return $this; } }