protected function addCategoryGroup()
    {
        $this->controlAccess('category_group_add');

        if ($this->category_group->add($this->getSubmitted())) {
            $this->redirect('admin/content/category-group', $this->text('Category group has been added'), 'success');
        }

        $this->redirect('', $this->text('Category group has not been added'), 'warning');
    }
protected function addCategoryGroup()
    {
        $this->controlAccess('category_group_add');

        if ($this->category_group->add($this->getSubmitted())) {
            $this->redirect('admin/content/category-group', $this->text('Category group has been added'), 'success');
        }

        $this->redirect('', $this->text('Category group has not been added'), 'warning');
    }
protected function addCategoryGroup ( ) { $ this -> controlAccess ( 'category_group_add' ) ; if ( $ this -> category_group -> add ( $ this -> getSubmitted ( ) ) ) { $ this -> redirect ( 'admin/content/category-group' , $ this -> text ( 'Category group has been added' ) , 'success' ) ; } $ this -> redirect ( '' , $ this -> text ( 'Category group has not been added' ) , 'warning' ) ; }
Adds a new category group
Adds a new category group