Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

oxBasketContentMarkGenerator Class Reference

Collaboration diagram for oxBasketContentMarkGenerator:

List of all members.

Public Member Functions

 __construct (oxBasket $oBasket)
 getMark ($sMarkIdentification)

Public Attributes

const DEFAULT_EXPLANATION_MARK = '**'

Private Member Functions

 _getBasket ()
 _formMarks ($sCurrentMark)

Private Attributes

 $_aMarks
 $_oBasket

Detailed Description

Class oxBasketContentMarkGenerator which forms explanation marks.

Definition at line 6 of file oxbasketcontentmarkgenerator.php.


Constructor & Destructor Documentation

oxBasketContentMarkGenerator.__construct ( oxBasket oBasket  ) 

Sets basket that is used to get article type(downloadable, intangible etc..).

Parameters:
oxBasket $oBasket

Definition at line 33 of file oxbasketcontentmarkgenerator.php.


Member Function Documentation

oxBasketContentMarkGenerator._formMarks ( sCurrentMark  )  [private]

Forms marks for articles.

Parameters:
string $sCurrentMark Current mark.
Returns:
array

Definition at line 73 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator._getBasket (  )  [private]

Basket that is used to get article type(downloadable, intangible etc..).

Returns:
oxBasket

Definition at line 61 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator.getMark ( sMarkIdentification  ) 

Returns explanation mark by given mark identification (skippedDiscount, downloadable, intangible).

Parameters:
string $sMarkIdentification Mark identification.
Returns:
string

Definition at line 45 of file oxbasketcontentmarkgenerator.php.


Member Data Documentation

oxBasketContentMarkGenerator.$_aMarks [private]

Definition at line 19 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator.$_oBasket [private]

Definition at line 26 of file oxbasketcontentmarkgenerator.php.

Default value for explanation mark.

Definition at line 12 of file oxbasketcontentmarkgenerator.php.


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