protected function submitEditCategoryGroup()
    {
        if ($this->isPosted('delete')) {
            $this->deleteCategoryGroup();
        } else if ($this->isPosted('save') && $this->validateEditCategoryGroup()) {
            if (isset($this->data_category_group['category_group_id'])) {
                $this->updateCategoryGroup();
            } else {
                $this->addCategoryGroup();
            }
        }
    }
protected function submitEditCategoryGroup()
    {
        if ($this->isPosted('delete')) {
            $this->deleteCategoryGroup();
        } else if ($this->isPosted('save') && $this->validateEditCategoryGroup()) {
            if (isset($this->data_category_group['category_group_id'])) {
                $this->updateCategoryGroup();
            } else {
                $this->addCategoryGroup();
            }
        }
    }
protected function submitEditCategoryGroup ( ) { if ( $ this -> isPosted ( 'delete' ) ) { $ this -> deleteCategoryGroup ( ) ; } else if ( $ this -> isPosted ( 'save' ) && $ this -> validateEditCategoryGroup ( ) ) { if ( isset ( $ this -> data_category_group [ 'category_group_id' ] ) ) { $ this -> updateCategoryGroup ( ) ; } else { $ this -> addCategoryGroup ( ) ; } } }
Handles a submitted category group data
Handles a submitted category group data