[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/kernel/classes/datatypes/ezprice/ -> ezprice.php (source)

   1  <?php
   2  //
   3  // Definition of eZPrice class
   4  //
   5  // Created on: <26-Nov-2002 12:26:52 wy>
   6  //
   7  // SOFTWARE NAME: eZ publish
   8  // SOFTWARE RELEASE: 3.9.0
   9  // BUILD VERSION: 17785
  10  // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS
  11  // SOFTWARE LICENSE: GNU General Public License v2.0
  12  // NOTICE: >
  13  //   This program is free software; you can redistribute it and/or
  14  //   modify it under the terms of version 2.0  of the GNU General
  15  //   Public License as published by the Free Software Foundation.
  16  //
  17  //   This program is distributed in the hope that it will be useful,
  18  //   but WITHOUT ANY WARRANTY; without even the implied warranty of
  19  //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20  //   GNU General Public License for more details.
  21  //
  22  //   You should have received a copy of version 2.0 of the GNU General
  23  //   Public License along with this program; if not, write to the Free
  24  //   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  25  //   MA 02110-1301, USA.
  26  //
  27  //
  28  
  29  /*! \file ezprice.php
  30  */
  31  
  32  /*!
  33    \class eZPrice ezprice.php
  34    \ingroup eZDatatype
  35  */
  36  
  37  
  38  
  39  include_once ( 'kernel/shop/classes/ezsimpleprice.php' );
  40  
  41  class eZPrice extends eZSimplePrice
  42  {
  43      /*!
  44       Constructor
  45      */
  46      function eZPrice( &$classAttribute, &$contentObjectAttribute, $storedPrice = null )
  47      {
  48          eZSimplePrice::eZSimplePrice( $classAttribute, $contentObjectAttribute, $storedPrice );
  49  
  50          $isVatIncluded = ( $classAttribute->attribute( EZ_DATATYPESTRING_INCLUDE_VAT_FIELD ) == 1 );
  51          $VATID =& $classAttribute->attribute( EZ_DATATYPESTRING_VAT_ID_FIELD );
  52          $this->setVatIncluded( $isVatIncluded );
  53          $this->setVatType( $VATID );
  54      }
  55  
  56      /// \privatesection
  57  }
  58  
  59  ?>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7