

Public Member Functions | |
| __construct () | |
| setDelVatOnTop ($blOnTop) | |
| getArticles () | |
| getCategories () | |
| hasArtices () | |
| hasCategories () | |
| getDeliveryAmount ($oBasketItem, $blExclNonMaterial=false) | |
| getDeliveryPrice ($dVat=null) | |
| delete ($sOXID=null) | |
| isForBasket ($oBasket, $blExclNonMaterial) | |
Protected Member Functions | |
| _checkDeliveryAmount ($iAmount) | |
Protected Attributes | |
| $_sCoreTbl = 'oxdelivery' | |
| $_sClassName = 'oxdelivery' | |
| $_iItemCnt = 0 | |
| $_iProdCnt = 0 | |
| $_dPrice = 0 | |
| $_oPrice = null | |
| $_aArtIds = null | |
| $_aCatIds = null | |
| $_blFreeShipping = true | |
| $_blDelVatOnTop = false | |
Static Protected Attributes | |
| static | $_aProductList = array() |
| oxDelivery.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()).
Reimplemented from oxI18n.
| oxDelivery.setDelVatOnTop | ( | $ | blOnTop | ) |
| oxDelivery.getArticles | ( | ) |
Collects article Ids which are assigned to current delivery
| oxDelivery.getCategories | ( | ) |
Collects category Ids which are assigned to current delivery
| oxDelivery.hasArtices | ( | ) |
Checks if delivery has assigned articles
| oxDelivery.hasCategories | ( | ) |
Checks if delivery has assigned categories
| oxDelivery.getDeliveryAmount | ( | $ | oBasketItem, | |
| $ | blExclNonMaterial = false | |||
| ) |
Returns amount (total net price/weight/volume/Amount) on which delivery price is applied
| object | $oBasketItem basket item object | |
| bool | $blExclNonMaterial exlude or not non material |
| oxDelivery.getDeliveryPrice | ( | $ | dVat = null |
) |
| oxDelivery.delete | ( | $ | sOXID = null |
) |
Delete this object from the database, returns true on success.
| string | $sOXID Object ID (default null) |
Reimplemented from oxBase.
| oxDelivery.isForBasket | ( | $ | oBasket, | |
| $ | blExclNonMaterial | |||
| ) |
Checks if delivery fits for current basket
| oxbasket | $oBasket shop basket | |
| bool | $blExclNonMaterial marker if product is virtual |
| oxDelivery._checkDeliveryAmount | ( | $ | iAmount | ) | [protected] |
checks if amount param is ok for this delivery
| double | $iAmount |
oxDelivery.$_sCoreTbl = 'oxdelivery' [protected] |
oxDelivery.$_sClassName = 'oxdelivery' [protected] |
Reimplemented from oxI18n.
oxDelivery.$_iItemCnt = 0 [protected] |
oxDelivery.$_iProdCnt = 0 [protected] |
oxDelivery.$_dPrice = 0 [protected] |
oxDelivery.$_oPrice = null [protected] |
oxDelivery.$_aArtIds = null [protected] |
oxDelivery.$_aCatIds = null [protected] |
oxDelivery.$_blFreeShipping = true [protected] |
oxDelivery.$_aProductList = array() [static, protected] |
oxDelivery.$_blDelVatOnTop = false [protected] |
1.5.5