original_string: protected function setCategory($category_id)
      {
          $options = array(
              'category_id' => $category_id,
              'language' => $this->langcode,
              'store_id' => $this->store_id
          );
  
          $this->data_category = $this->category->get($options);
  
          if (empty($this->data_category['status'])) {
              $this->outputHttpStatus(404);
          }
  
          $this->prepareCategory($this->data_category);
      }
code: protected function setCategory($category_id)
      {
          $options = array(
              'category_id' => $category_id,
              'language' => $this->langcode,
              'store_id' => $this->store_id
          );
  
          $this->data_category = $this->category->get($options);
  
          if (empty($this->data_category['status'])) {
              $this->outputHttpStatus(404);
          }
  
          $this->prepareCategory($this->data_category);
      }
code_tokens: protected function setCategory ( $ category_id ) { $ options = array ( 'category_id' => $ category_id , 'language' => $ this -> langcode , 'store_id' => $ this -> store_id ) ; $ this -> data_category = $ this -> category -> get ( $ options ) ; if ( empty ( $ this -> data_category [ 'status' ] ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareCategory ( $ this -> data_category ) ; }
docstring: Sets a category data
  @param integer $category_id
docstring_tokens: Sets a category data