protected function _indexPage(&$iaView)
{
if (!empty($_GET['group'])) {
$this->_type = 'group';
$this->_typeId = (int) $_GET['group'];
iaBreadcrumb::preEnd(iaLanguage::get('usergroups'), IA_ADMIN_URL . 'usergroups/');
} elseif (!empty($_GET['user'])) {
$this->_type = 'user';
$this->_typeId = (int) $_GET['user'];
iaBreadcrumb::preEnd(iaLanguage::get('members'), IA_ADMIN_URL . 'members/');
}
$groupName = isset($this->_iaCore->requestPath[0]) ? $this->_iaCore->requestPath[0] : 'general';
$groupData = $this->_iaDb->row_bind(iaDb::ALL_COLUMNS_SELECTION, '`name` = :name', array('name' => $groupName), iaCore::getConfigGroupsTable());
if (empty($groupData)) {
return iaView::errorPage(iaView::ERROR_NOT_FOUND);
}
$this->_setGroup($iaView, $groupData);
if (isset($_POST['save'])) {
$this->_save($iaView);
}
$iaView->assign('custom', (bool) $this->_type);
$iaView->assign('group', $groupData);
$iaView->assign('params', $this->_getParams($groupName));
$iaView->assign('tooltips', iaLanguage::getTooltips());
}