protected function setCategoryGroup($category_group_id)
    {
        $this->data_category_group = $this->category_group->get($category_group_id);

        if (empty($this->data_category_group)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setCategoryGroup($category_group_id)
    {
        $this->data_category_group = $this->category_group->get($category_group_id);

        if (empty($this->data_category_group)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setCategoryGroup ( $ category_group_id ) { $ this -> data_category_group = $ this -> category_group -> get ( $ category_group_id ) ; if ( empty ( $ this -> data_category_group ) ) { $ this -> outputHttpStatus ( 404 ) ; } }
Sets an array of category group data
@param integer $category_group_id
Sets an array of category group data