[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/kernel/classes/ -> ezvattype.php (sommaire)

(pas de description)

Poids: 313 lignes (10 kb)
Inclus ou requis: 7 fois
Référencé: 0 fois
Nécessite: 4 fichiers
 lib/ezdb/classes/ezdb.php
 kernel/classes/ezvatmanager.php
 kernel/classes/ezvatrule.php
 kernel/classes/ezpersistentobject.php

Définit 1 class

eZVatType:: (14 méthodes):
  eZVatType()
  definition()
  getPercentage()
  dynamicVatType()
  dynamicVatTypeName()
  fetch()
  isDynamic()
  fetchList()
  fetchDependentProductsCount()
  fetchDependentClassesCount()
  create()
  resetToDefaultInProducts()
  remove()
  VATTypeList()


Classe: eZVatType  - X-Ref

eZVatType( $row )   X-Ref
Pas de description

definition()   X-Ref
Pas de description

getPercentage( $object, $country )   X-Ref
Pas de description

dynamicVatType( $asObject = true )   X-Ref
Pas de description

dynamicVatTypeName()   X-Ref
Return name of the "fake" dynamic VAT type.

\private
\static

fetch( $id, $asObject = true )   X-Ref
Pas de description

isDynamic()   X-Ref
Pas de description

fetchList( $asObject = true, $skipDynamic = false )   X-Ref
\param $skipDynamic if false, include dynamic VAT type to the list being returned.


fetchDependentProductsCount( $vatID )   X-Ref
Fetches number of products using given VAT type.

\public
\static
\param $vatID id of VAT type to count dependent products for.
\return Number of dependent products.

fetchDependentClassesCount( $vatID )   X-Ref
Fetches number of product classes having given VAT type set as default.

\public
\static
\return Number of dependent product classes.

create()   X-Ref
Pas de description

resetToDefaultInProducts( $oldVAT )   X-Ref
Change VAT type in all products from $oldVAT to the default VAT of a product class.

\private
\static
\param $oldVAT old VAT type id.
\param $newVAT new VAT type id.

remove( $vatID )   X-Ref
Remove given VAT type and all references to it.

Drops VAT charging rules referencing the VAT type.
Resets VAT type in associated products to its default value for a product class.

\param $vatID id of VAT type to remove.
\public
\static

VATTypeList()   X-Ref
Pas de description



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