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);
            }
        }
    }
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);
            }
        }
    }
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 ) ; } } }
Sets the product class data
@param integer $product_class_id
Sets the product class data