Inheritance diagram for oxWrapping:
Collaboration diagram for oxWrapping:Public Member Functions | |
| __construct () | |
| setWrappingVat ($dVat) | |
| setWrappingVatOnTop ($blOnTop) | |
| assign ($dbRecord) | |
| getWrappingPrice ($dAmount=1) | |
| getWrappingList ($sWrapType) | |
| getWrappingCount ($sWrapType) | |
| getFPrice () | |
| getNoSslDynImageDir () | |
| getPictureUrl () | |
Protected Attributes | |
| $_sClassName = 'oxwrapping' | |
| $_oPrice = null | |
| $_dVat = 0 | |
| $_blWrappingVatOnTop = false | |
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 83 of file oxwrapping.php.
| oxWrapping.getFPrice | ( | ) |
| oxWrapping.getNoSslDynImageDir | ( | ) |
Returns returns dyn image dir (not ssl)
Definition at line 167 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 144 of file oxwrapping.php.
| oxWrapping.getWrappingList | ( | $ | sWrapType | ) |
Loads wrapping list for specific wrap type
| string | $sWrapType wrap type |
Definition at line 125 of file oxwrapping.php.
| oxWrapping.getWrappingPrice | ( | $ | dAmount = 1 |
) |
Returns oxprice object for wrapping
| int | $dAmount article amount |
Definition at line 99 of file oxwrapping.php.
| oxWrapping.setWrappingVat | ( | $ | dVat | ) |
Wrapping Vat setter
| double | $dVat vat |
Definition at line 59 of file oxwrapping.php.
| oxWrapping.setWrappingVatOnTop | ( | $ | blOnTop | ) |
Wrapping VAT config setter
| bool | $blOnTop wrapping vat config |
Definition at line 71 of file oxwrapping.php.
oxWrapping.$_blWrappingVatOnTop = false [protected] |
Definition at line 35 of file oxwrapping.php.
oxWrapping.$_dVat = 0 [protected] |
Definition at line 28 of file oxwrapping.php.
oxWrapping.$_oPrice = null [protected] |
Definition at line 21 of file oxwrapping.php.
oxWrapping.$_sClassName = 'oxwrapping' [protected] |
Reimplemented from oxI18n.
Definition at line 14 of file oxwrapping.php.
1.7.1