eZBasket Class Reference
[Kernel system]

eZBasket handles shopping baskets More...

Inheritance diagram for eZBasket:

eZPersistentObject List of all members.

Public Methods

definition ()
 attribute ($attr)
 hasAttribute ($attr)
currentBasket ($asObject=true)
createOrder ()

Detailed Description

eZBasket handles shopping baskets

See also:
eZProductCollection

Definition at line ezbasket.php.


Member Function Documentation

eZBasket::attribute   attr
 

Returns:
the attribute data for $attr, this is either returned from the member variables or a member function depending on whether the definition field or function attributes matched.

Reimplemented from eZPersistentObject.

Definition at line ezbasket.php.

References eZPersistentObject::attribute().

Referenced by createOrder().

& eZBasket::createOrder  
 

Creates a temporary order for the current basket. The order object is returned.

Definition at line ezbasket.php.

References eZUser::currentUser().

& eZBasket::currentBasket   asObject = true
 

Will return the basket for the current session. If a basket does not exist one will be created.

Returns:
current eZBasket object

Definition at line ezbasket.php.

References eZHTTPTool::instance().

Referenced by currentBasket().

& eZBasket::definition  
 

Returns:
the persistent object definition for the eZCard class.

Reimplemented from eZPersistentObject.

Definition at line ezbasket.php.

Referenced by currentBasket().

eZBasket::hasAttribute   attr
 

Returns:
true if the attribute $attr is part of the definition fields or function attributes.

Reimplemented from eZPersistentObject.

Definition at line ezbasket.php.

References eZPersistentObject::hasAttribute().


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

Exponential