original_string: protected function setProductClassProductClassField($product_class_id)
      {
          $this->data_product_class = array();
  
          if (is_numeric($product_class_id)) {
  
              $this->data_product_class = $this->product_class->get($product_class_id);
  
              if (empty($this->data_product_class)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code: protected function setProductClassProductClassField($product_class_id)
      {
          $this->data_product_class = array();
  
          if (is_numeric($product_class_id)) {
  
              $this->data_product_class = $this->product_class->get($product_class_id);
  
              if (empty($this->data_product_class)) {
                  $this->outputHttpStatus(404);
              }
          }
      }
code_tokens: protected function setProductClassProductClassField ( $ product_class_id ) { $ this -> data_product_class = array ( ) ; if ( is_numeric ( $ product_class_id ) ) { $ this -> data_product_class = $ this -> product_class -> get ( $ product_class_id ) ; if ( empty ( $ this -> data_product_class ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
docstring: Sets the product class data
  @param integer $product_class_id
docstring_tokens: Sets the product class data