Definition at line 8 of file oxwrapping.php.
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 |
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.__get | ( | $ | sName | ) |
Magic getter, deals with deprecated values
string | $sName Variable name |
Reimplemented from oxBase.
Definition at line 58 of file oxwrapping.php.
oxWrapping.setWrappingVat | ( | $ | dVat | ) |
Wrapping Vat setter
double | $dVat vat |
Definition at line 77 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 89 of file oxwrapping.php.
oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
int | $dAmount article amount |
Definition at line 108 of file oxwrapping.php.
oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
string | $sWrapType wrap type |
Definition at line 128 of file oxwrapping.php.
oxWrapping.getWrappingCount | ( | $ | sWrapType | ) |
Counts amount of wrapping/card options
string | $sWrapType type - wrapping paper (WRAP) or card (CARD) |
Definition at line 147 of file oxwrapping.php.
oxWrapping.getFPrice | ( | ) |
oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 169 of file oxwrapping.php.
oxWrapping.getPictureUrl | ( | ) |
oxWrapping.$_sCoreTbl = 'oxwrapping' [protected] |
Definition at line 15 of file oxwrapping.php.
oxWrapping.$_sClassName = 'oxwrapping' [protected] |
oxWrapping.$_oPrice = null [protected] |
Definition at line 29 of file oxwrapping.php.
oxWrapping.$_dVat = 0 [protected] |
Definition at line 36 of file oxwrapping.php.