Public Member Functions | Protected Member Functions | Protected Attributes

oxUserBasketItem Class Reference

Inheritance diagram for oxUserBasketItem:
Collaboration diagram for oxUserBasketItem:

List of all members.

Public Member Functions

 __construct ()
 setVariantParentBuyable ($blBuyable=false)
 getArticle ($sItemKey)
 __sleep ()
 getSelList ()
 setSelList ($aSelList)
 getPersParams ()
 setPersParams ($sPersParams)

Protected Member Functions

 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)

Protected Attributes

 $_sClassName = 'oxuserbasketitem'
 $_oArticle = null
 $_blParentBuyable = false
 $_aSelList = null
 $_aPersParam = null

Detailed Description

Shopping basket item manager. Manager class for shopping basket item (class may be overriden).

Definition at line 8 of file oxuserbasketitem.php.


Constructor & Destructor Documentation

oxUserBasketItem.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxBase()).

Reimplemented from oxBase.

Definition at line 48 of file oxuserbasketitem.php.


Member Function Documentation

oxUserBasketItem.__sleep (  ) 

Does not return _oArticle var on serialisation

Returns:
array

Definition at line 126 of file oxuserbasketitem.php.

oxUserBasketItem._setFieldData ( sFieldName,
sValue,
iDataType = oxField::T_TEXT 
) [protected]

Sets data field value

Parameters:
string $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set
string $sValue value of data field
int $iDataType field type
Returns:
null

Reimplemented from oxBase.

Definition at line 198 of file oxuserbasketitem.php.

oxUserBasketItem.getArticle ( sItemKey  ) 

Loads and returns the article for that basket item

Parameters:
string $sItemKey the key that will be given to oxarticle setItemKey
Exceptions:
oxArticleException article exception
Returns:
oxArticle

Definition at line 76 of file oxuserbasketitem.php.

oxUserBasketItem.getPersParams (  ) 

Basket item persistent parameters getter

Returns:
array

Definition at line 168 of file oxuserbasketitem.php.

oxUserBasketItem.getSelList (  ) 

Basket item selection list getter

Returns:
array

Definition at line 142 of file oxuserbasketitem.php.

oxUserBasketItem.setPersParams ( sPersParams  ) 

Basket item persistent parameters setter

Parameters:
string $sPersParams persistent parameters
Returns:
null

Definition at line 184 of file oxuserbasketitem.php.

oxUserBasketItem.setSelList ( aSelList  ) 

Basket item selection list setter

Parameters:
array $aSelList selection list
Returns:
null

Definition at line 158 of file oxuserbasketitem.php.

oxUserBasketItem.setVariantParentBuyable ( blBuyable = false  ) 

Variant parent "buyable" status setter

Parameters:
bool $blBuyable parent "buyable" status
Returns:
null

Definition at line 62 of file oxuserbasketitem.php.


Member Data Documentation

oxUserBasketItem.$_aPersParam = null [protected]

Definition at line 43 of file oxuserbasketitem.php.

oxUserBasketItem.$_aSelList = null [protected]

Definition at line 36 of file oxuserbasketitem.php.

oxUserBasketItem.$_blParentBuyable = false [protected]

Definition at line 29 of file oxuserbasketitem.php.

oxUserBasketItem.$_oArticle = null [protected]

Definition at line 22 of file oxuserbasketitem.php.

oxUserBasketItem.$_sClassName = 'oxuserbasketitem' [protected]

Reimplemented from oxBase.

Definition at line 15 of file oxuserbasketitem.php.


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