[ Index ] |
|
Code source de eZ Publish 3.9.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 360 lignes (11 kb) |
Inclus ou requis: | 7 fois |
Référencé: | 0 fois |
Nécessite: | 3 fichiers lib/ezdb/classes/ezdb.php kernel/classes/ezvattype.php kernel/classes/ezpersistentobject.php |
eZVatRule:: (19 méthodes):
eZVatRule()
definition()
setAttribute()
fetch()
fetchList()
fetchByVatType()
fetchCountByCategory()
fetchCountByVatType()
create()
remove()
store()
productCategories()
productCategoriesString()
productCategoriesIDs()
productCategoriesNames()
vatTypeName()
vatTypeObject()
removeProductCategories()
removeReferencesToProductCategory()
eZVatRule( $row ) X-Ref |
Pas de description |
definition() X-Ref |
\reimp |
setAttribute( $attr, $val ) X-Ref |
\reimp |
fetch( $id ) X-Ref |
Pas de description |
fetchList() X-Ref |
Pas de description |
fetchByVatType( $vatID ) X-Ref |
Fetch VAT rules referencing given VAT type. \param $vatID ID of VAT type to count VAT rules for. \public \static |
fetchCountByCategory( $categories ) X-Ref |
Fetch number of VAT rules referencing given product category. \param $categories Category (single or list) to count VAT rules for. \public \static |
fetchCountByVatType( $vatID ) X-Ref |
Return number of VAT rules referencing given VAT type. \param $vatID ID of VAT type to count VAT rules for. \public \static |
create() X-Ref |
Pas de description |
remove( $id ) X-Ref |
Remove given VAT charging rule. |
store() X-Ref |
\reimp |
productCategories() X-Ref |
\private |
productCategoriesString() X-Ref |
Return product categories as string, separated with commas. \private |
productCategoriesIDs() X-Ref |
Return IDs of product categories associated with the rule. \private |
productCategoriesNames() X-Ref |
Return names of product categories associated with the rule. \prrivate |
vatTypeName() X-Ref |
Return VAT type name. |
vatTypeObject() X-Ref |
Return VAT type object. |
removeProductCategories( $ruleID = false ) X-Ref |
Remove product categories with the rule from DB. \private \note Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit. |
removeReferencesToProductCategory( $cartegoryID ) X-Ref |
Remove references to the given product category. \public \static \note Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit. |
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |