protected function wizardAddCategoryGroup()
    {
        $this->validatePrompt('title', $this->text('Name'), 'category_group');
        $this->validatePrompt('store_id', $this->text('Store ID'), 'category_group');
        $this->validateMenu('type', $this->text('Type'), 'category_group', $this->category_group->getTypes());

        $this->validateComponent('category_group');
        $this->addCategoryGroup();
    }
protected function wizardAddCategoryGroup()
    {
        $this->validatePrompt('title', $this->text('Name'), 'category_group');
        $this->validatePrompt('store_id', $this->text('Store ID'), 'category_group');
        $this->validateMenu('type', $this->text('Type'), 'category_group', $this->category_group->getTypes());

        $this->validateComponent('category_group');
        $this->addCategoryGroup();
    }
protected function wizardAddCategoryGroup ( ) { $ this -> validatePrompt ( 'title' , $ this -> text ( 'Name' ) , 'category_group' ) ; $ this -> validatePrompt ( 'store_id' , $ this -> text ( 'Store ID' ) , 'category_group' ) ; $ this -> validateMenu ( 'type' , $ this -> text ( 'Type' ) , 'category_group' , $ this -> category_group -> getTypes ( ) ) ; $ this -> validateComponent ( 'category_group' ) ; $ this -> addCategoryGroup ( ) ; }
Add a new category group step by step
Add a new category group step by step