📚 Looking for current Exponential documentation? This site contains legacy SDK & API reference docs (eZ Publish era). For up-to-date 2026 product documentation, visit doc.exponential.earth.

  class / eZBasket  

eZBasket Class Reference
[Kernel system]

eZBasket handles shopping baskets More...

Inheritance diagram for eZBasket:

TODO — Image not available in archive

Title:   eZBasket Class Inheritance Diagram (Doxygen)
File:    /doc/generated/html/classeZBasket.png

What this image shows:
Doxygen-generated class inheritance diagram for the eZBasket PHP class. Shows the inheritance hierarchy: which classes eZBasket extends and which classes inherit from it, with links to parent and child class documentation. This diagram was auto-generated from the Exponential 3.1 PHP source code using Doxygen circa 2003.

Replacement instructions:
Run Doxygen on the Exponential 3.1 PHP source and locate the generated classeZBasket.png in the output. Or draw the inheritance tree manually from the API reference. Save as /doc/generated/html/classeZBasket.png

See /sdk/missing.html for the full list of missing images.
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 Copyright © 1998 - 2026 7x