_getDataObj()->setRoleId($roleId); return $this; } protected function setRole($role) { $this->_getDataObj()->setRole($role); return $this; } protected function _addViewItem() { $item = $this->_getDataObj()->getRoleInfo(); if ($item) { $this->_prepareViewItem($item); $this->_addItem($item); } return $this; } protected function _prepareViewItem(array &$item) { $item['tpl'] = $this->getTemplate($this->_getDataObj()->getRole() . '-view.tpl'); return $this; } protected function _setHeader() { if (!$this->_disableHeader) { parent::_setHeader(); } return $this; } }