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 32 of file oxbasketcontentmarkgenerator.php.


Member Function Documentation

oxBasketContentMarkGenerator._formMarks ( sCurrentMark  )  [private]

Forms marks for articles.

Parameters:
$sCurrentMark 
Returns:
array

Definition at line 72 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator._getBasket (  )  [private]

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

Returns:
oxBasket

Definition at line 60 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator.getMark ( sMarkIdentification  ) 

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

Parameters:
$sMarkIdentification 
Returns:
string

Definition at line 44 of file oxbasketcontentmarkgenerator.php.


Member Data Documentation

oxBasketContentMarkGenerator.$_aMarks [private]

Definition at line 18 of file oxbasketcontentmarkgenerator.php.

oxBasketContentMarkGenerator.$_oBasket [private]

Definition at line 25 of file oxbasketcontentmarkgenerator.php.

Default value for explanation mark.

Definition at line 11 of file oxbasketcontentmarkgenerator.php.


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