oxWrapping Class Reference

Inheritance diagram for oxWrapping:

Inheritance graph
[legend]
Collaboration diagram for oxWrapping:

Collaboration graph
[legend]

List of all members.


Detailed Description

Wrapping manager. Performs Wrapping data/objetcs loading, deleting.

Definition at line 7 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

Constructor & Destructor Documentation

oxWrapping.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxBase()), loads base shop objects.

Returns:
null

Reimplemented from oxI18n.

Definition at line 43 of file oxwrapping.php.


Member Function Documentation

oxWrapping.__get ( sName  ) 

Magic getter, deals with deprecated values

Parameters:
string $sName Variable name
Returns:
mixed

Reimplemented from oxBase.

Definition at line 57 of file oxwrapping.php.

oxWrapping.setWrappingVat ( dVat  ) 

Wrapping Vat setter

Parameters:
double $dVat vat
Returns:
null

Definition at line 78 of file oxwrapping.php.

oxWrapping.assign ( dbRecord  ) 

Assigns oxwrapping object data and calculates dprice/fprice

Parameters:
array $dbRecord object data
Returns:
null

Reimplemented from oxI18n.

Definition at line 90 of file oxwrapping.php.

oxWrapping.getWrappingPrice ( dAmount = 1  ) 

Returns oxprice object for wrapping

Parameters:
int $dAmount article amount
Returns:
object

Definition at line 109 of file oxwrapping.php.

oxWrapping.getWrappingList ( sWrapType  ) 

Loads wrapping list for specific wrap type

Parameters:
string $sWrapType wrap type
Returns:
array $oEntries wrapping list

Definition at line 129 of file oxwrapping.php.

oxWrapping.getWrappingCount ( sWrapType  ) 

Counts amount of wrapping/card options

Parameters:
string $sWrapType type - wrapping paper (WRAP) or card (CARD)
Returns:
int

Definition at line 148 of file oxwrapping.php.

oxWrapping.getFPrice (  ) 

Returns formatted wrapping price

Returns:
string

Definition at line 160 of file oxwrapping.php.

oxWrapping.getNoSslDynImageDir (  ) 

Returns returns dyn image dir (not ssl)

Returns:
string

Definition at line 170 of file oxwrapping.php.

oxWrapping.getPictureUrl (  ) 

Returns returns dyn image dir

Returns:
string

Definition at line 180 of file oxwrapping.php.


Member Data Documentation

oxWrapping.$_sCoreTbl = 'oxwrapping' [protected]

Definition at line 14 of file oxwrapping.php.

oxWrapping.$_sClassName = 'oxwrapping' [protected]

Reimplemented from oxI18n.

Definition at line 21 of file oxwrapping.php.

oxWrapping.$_oPrice = null [protected]

Definition at line 28 of file oxwrapping.php.

oxWrapping.$_dVat = 0 [protected]

Definition at line 35 of file oxwrapping.php.


The documentation for this class was generated from the following file:

Generated on Tue Sep 29 16:50:52 2009 for OXID eShop CE by  doxygen 1.5.5