Public Member Functions | |
__construct () | |
setWrappingVat ($dVat) | |
assign ($dbRecord) | |
getWrappingPrice ($dAmount=1) | |
getWrappingList ($sWrapType) | |
getWrappingCount ($sWrapType) | |
getFPrice () | |
getNoSslDynImageDir () | |
getPictureUrl () | |
Protected Attributes | |
$_sCoreTbl = 'oxwrapping' | |
$_sClassName = 'oxwrapping' | |
$_oPrice = null | |
$_dVat = 0 |
Wrapping manager. Performs Wrapping data/objects loading, deleting.
Definition at line 7 of file oxwrapping.php.
oxWrapping.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()), loads base shop objects.
Reimplemented from oxI18n.
Definition at line 43 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 69 of file oxwrapping.php.
oxWrapping.getFPrice | ( | ) |
oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 146 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 124 of file oxwrapping.php.
oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
string | $sWrapType wrap type |
Definition at line 105 of file oxwrapping.php.
oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
int | $dAmount article amount |
Definition at line 85 of file oxwrapping.php.
oxWrapping.setWrappingVat | ( | $ | dVat | ) |
Wrapping Vat setter
double | $dVat vat |
Definition at line 57 of file oxwrapping.php.
oxWrapping.$_dVat = 0 [protected] |
Definition at line 35 of file oxwrapping.php.
oxWrapping.$_oPrice = null [protected] |
Definition at line 28 of file oxwrapping.php.
oxWrapping.$_sClassName = 'oxwrapping' [protected] |
Reimplemented from oxI18n.
Definition at line 21 of file oxwrapping.php.
oxWrapping.$_sCoreTbl = 'oxwrapping' [protected] |
Definition at line 14 of file oxwrapping.php.