Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

ezprice.php
Go to the documentation of this file.
1 <?php
18 class eZPrice extends eZSimplePrice
19 {
20 public function __construct( $classAttribute, $contentObjectAttribute, $storedPrice = null )
21 {
22 parent::__construct( $classAttribute, $contentObjectAttribute, $storedPrice );
23
24 $isVatIncluded = ( $classAttribute->attribute( eZPriceType::INCLUDE_VAT_FIELD ) == 1 );
25 $VATID = $classAttribute->attribute( eZPriceType::VAT_ID_FIELD );
26 $this->setVatIncluded( $isVatIncluded );
27 $this->setVatType( $VATID );
28 }
29
31 }
32
33 ?>
eZPriceType\INCLUDE_VAT_FIELD
const INCLUDE_VAT_FIELD
Definition: ezpricetype.php:21
eZPriceType\VAT_ID_FIELD
const VAT_ID_FIELD
Definition: ezpricetype.php:23
eZPrice
Definition: ezprice.php:19
eZPrice\__construct
__construct( $classAttribute, $contentObjectAttribute, $storedPrice=null)
Definition: ezprice.php:20
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.