original_string: protected function setCategoryGroup($category_group_id)
      {
          $this->data_category_group = array();
  
          if (is_numeric($category_group_id)) {
  
              $conditions = array(
                  'language' => 'und',
                  'category_group_id' => $category_group_id
              );
  
              $this->data_category_group = $this->category_group->get($conditions);
  
              if (empty($this->data_category_group)) {
                  $this->outputHttpStatus(404);
              }
  
              $this->prepareCategoryGroup($this->data_category_group);
          }
      }
code: protected function setCategoryGroup($category_group_id)
      {
          $this->data_category_group = array();
  
          if (is_numeric($category_group_id)) {
  
              $conditions = array(
                  'language' => 'und',
                  'category_group_id' => $category_group_id
              );
  
              $this->data_category_group = $this->category_group->get($conditions);
  
              if (empty($this->data_category_group)) {
                  $this->outputHttpStatus(404);
              }
  
              $this->prepareCategoryGroup($this->data_category_group);
          }
      }
code_tokens: protected function setCategoryGroup ( $ category_group_id ) { $ this -> data_category_group = array ( ) ; if ( is_numeric ( $ category_group_id ) ) { $ conditions = array ( 'language' => 'und' , 'category_group_id' => $ category_group_id ) ; $ this -> data_category_group = $ this -> category_group -> get ( $ conditions ) ; if ( empty ( $ this -> data_category_group ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareCategoryGroup ( $ this -> data_category_group ) ; } }
docstring: Sets the category group data
  @param integer $category_group_id
docstring_tokens: Sets the category group data