protected function canDeleteProductClass()
    {
        return isset($this->data_product_class['product_class_id'])
            && $this->access('product_class_delete')
            && $this->product_class->canDelete($this->data_product_class['product_class_id']);
    }
protected function canDeleteProductClass()
    {
        return isset($this->data_product_class['product_class_id'])
            && $this->access('product_class_delete')
            && $this->product_class->canDelete($this->data_product_class['product_class_id']);
    }
protected function canDeleteProductClass ( ) { return isset ( $ this -> data_product_class [ 'product_class_id' ] ) && $ this -> access ( 'product_class_delete' ) && $ this -> product_class -> canDelete ( $ this -> data_product_class [ 'product_class_id' ] ) ; }
Whether a product class can be deleted
@return bool
Whether a product class can be deleted