_doc->addItem(array('tpl' => 'Committee/Document/Short/viewAll.tpl', 'committeeId' => $this->_getDataObj()->getCommitteeId())); $header = 'Manage "' . $this->_getDataObj()->getCommitteeData($this->_getDataObj()->getCommitteeId())->toArray()['title'] . '" Committee'; $this->_doc->setHeader($header); return $this; } protected function _getDefaultLinks() { $links = parent::_getDefaultLinks(); $links['new'] = array( 'title' => 'Add New ' . $this->getConfig('itemName'), 'url' => \App\Committee\Document\View::getNewUrl($this->_getDataObj()->getCommitteeId()) ); return $links; } }