_addViewAllLink(); return $this; } protected function _addViewAllLink() { $committeeId = $this->_getDataObj()->getCommitteeId(); $this->_doc->addItem(array( 'tpl' => 'ViewController/link.tpl', 'url' => Committee\View::buildUrl($committeeId), 'attribs' => array('class' => 'link_all'), 'text' => 'View All Events', )); return $this; } protected function _getDefaultLinks() { $links = parent::_getDefaultLinks(); $committeeId = $this->_getDataObj()->getCommitteeId(); $links['new'] = array( 'title' => 'Add New ' . $this->getConfig('itemName'), 'url' => Committee\View::buildUrl($committeeId, array('action' => 'new')) ); return $links; } }