Public Member Functions | |
__construct () | |
setWrappingVat ($dVat) | |
setWrappingVatOnTop ($blOnTop) | |
assign ($dbRecord) | |
getWrappingPrice ($dAmount=1) | |
getWrappingList ($sWrapType) | |
getWrappingCount ($sWrapType) | |
getFPrice () | |
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 44 of file oxwrapping.php.
oxWrapping._isPriceViewModeNetto | ( | ) | [protected] |
Checks and return true if price view mode is netto
Definition at line 158 of file oxwrapping.php.
oxWrapping.assign | ( | $ | dbRecord | ) |
Assigns oxwrapping object data and calculates dprice/fprice
array | $dbRecord object data |
Reimplemented from oxBase.
Definition at line 84 of file oxwrapping.php.
oxWrapping.getFPrice | ( | ) |
oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 190 of file oxwrapping.php.
oxWrapping.getPictureUrl | ( | ) |
oxWrapping.getWrappingCount | ( | $ | sWrapType | ) |
Counts amount of wrapping/card options
string | $sWrapType type - wrapping paper (WRAP) or card (CARD) |
Definition at line 145 of file oxwrapping.php.
oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
string | $sWrapType wrap type |
Definition at line 126 of file oxwrapping.php.
oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
int | $dAmount article amount |
Definition at line 100 of file oxwrapping.php.
oxWrapping.setWrappingVat | ( | $ | dVat | ) |
Wrapping Vat setter
double | $dVat vat |
Definition at line 60 of file oxwrapping.php.
oxWrapping.setWrappingVatOnTop | ( | $ | blOnTop | ) |
Wrapping VAT config setter
bool | $blOnTop wrapping vat config |
Definition at line 72 of file oxwrapping.php.
oxWrapping.$_blWrappingVatOnTop = false [protected] |
Definition at line 36 of file oxwrapping.php.
oxWrapping.$_dVat = 0 [protected] |
Definition at line 29 of file oxwrapping.php.
oxWrapping.$_oPrice = null [protected] |
Definition at line 22 of file oxwrapping.php.
oxWrapping.$_sClassName = 'oxwrapping' [protected] |
Reimplemented from oxI18n.
Definition at line 15 of file oxwrapping.php.