Public Member Functions | |
__construct () | |
setWrappingVat ($dVat) | |
setWrappingVatOnTop ($blOnTop) | |
getWrappingPrice ($dAmount=1) | |
getWrappingList ($sWrapType) | |
getWrappingCount ($sWrapType) | |
getFPrice () | |
getPrice () | |
getNoSslDynImageDir () | |
getPictureUrl () | |
Protected Member Functions | |
_isPriceViewModeNetto () | |
Protected Attributes | |
$_sClassName = 'oxwrapping' | |
$_oPrice = null | |
$_dVat = 0 | |
$_blWrappingVatOnTop = false |
Wrapping manager. Performs Wrapping data/objects loading, deleting.
Definition at line 8 of file oxwrapping.php.
oxWrapping.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()), loads base shop objects.
Reimplemented from oxI18n.
Definition at line 45 of file oxwrapping.php.
oxWrapping._isPriceViewModeNetto | ( | ) | [protected] |
Checks and return true if price view mode is netto
Definition at line 140 of file oxwrapping.php.
oxWrapping.getFPrice | ( | ) |
Returns formatted wrapping price
Definition at line 158 of file oxwrapping.php.
oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 186 of file oxwrapping.php.
oxWrapping.getPictureUrl | ( | ) |
oxWrapping.getPrice | ( | ) |
oxWrapping.getWrappingCount | ( | $ | sWrapType | ) |
Counts amount of wrapping/card options
string | $sWrapType type - wrapping paper (WRAP) or card (CARD) |
Definition at line 126 of file oxwrapping.php.
oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
string | $sWrapType wrap type |
Definition at line 107 of file oxwrapping.php.
oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
int | $dAmount article amount |
Definition at line 81 of file oxwrapping.php.
oxWrapping.setWrappingVat | ( | $ | dVat | ) |
oxWrapping.setWrappingVatOnTop | ( | $ | blOnTop | ) |
Wrapping VAT config setter
bool | $blOnTop wrapping vat config |
Definition at line 69 of file oxwrapping.php.
oxWrapping.$_blWrappingVatOnTop = false [protected] |
Definition at line 37 of file oxwrapping.php.
oxWrapping.$_dVat = 0 [protected] |
Definition at line 30 of file oxwrapping.php.
oxWrapping.$_oPrice = null [protected] |
Definition at line 23 of file oxwrapping.php.
oxWrapping.$_sClassName = 'oxwrapping' [protected] |
Reimplemented from oxI18n.
Definition at line 16 of file oxwrapping.php.