Public Member Functions | |
__construct () | |
__get ($sName) | |
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/objetcs 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.__get | ( | $ | sName | ) |
Magic getter, deals with deprecated values
string | $sName Variable name |
Reimplemented from oxBase.
Definition at line 57 of file oxwrapping.php.
oxWrapping.assign | ( | $ | dbRecord | ) |
Assigns oxwrapping object data and calculates dprice/fprice
array | $dbRecord object data |
Reimplemented from oxI18n.
Definition at line 94 of file oxwrapping.php.
oxWrapping.getFPrice | ( | ) |
oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 174 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 152 of file oxwrapping.php.
oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
string | $sWrapType wrap type |
Definition at line 133 of file oxwrapping.php.
oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
int | $dAmount article amount |
Definition at line 113 of file oxwrapping.php.
oxWrapping.setWrappingVat | ( | $ | dVat | ) |
Wrapping Vat setter
double | $dVat vat |
Definition at line 82 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.