Public Member Functions | Protected Member Functions | Protected Attributes

oxwArticleBox Class Reference

Inheritance diagram for oxwArticleBox:
Collaboration diagram for oxwArticleBox:

List of all members.

Public Member Functions

 getActiveCategory ()
 render ()
 setProduct ($oArticle)
 getProduct ()
 getLink ($iLang=null)
 isVatIncluded ()
 getWishId ()
 getRemoveFunction ()
 getToBasketFunction ()
 getDisableToCart ()
 getIndex ()
 getRecommId ()
 getIteration ()
 getRSSLinks ()
 getShowMainLink ()
 getAltProduct ()

Protected Member Functions

 _addDynParamsToLink ($sAddDynParams, $oArticle)

Protected Attributes

 $_aComponentNames = array('oxcmp_user' => 1, 'oxcmp_basket' => 1, 'oxcmp_cur' => 1)
 $_sTemplate = 'widget/product/boxproduct.tpl'
 $_oArticle = null

Detailed Description

Article box widget

Definition at line 6 of file oxwarticlebox.php.


Member Function Documentation

oxwArticleBox._addDynParamsToLink ( sAddDynParams,
oArticle 
) [protected]

Appends dyn params to url.

Parameters:
string $sAddDynParams Dyn params
oxArticle $oArticle Article
Returns:
bool

Definition at line 243 of file oxwarticlebox.php.

oxwArticleBox.getActiveCategory (  ) 

Returns active category

Returns:
null|oxCategory

Reimplemented from oxUBase.

Definition at line 39 of file oxwarticlebox.php.

oxwArticleBox.getAltProduct (  ) 

Returns if alternate product exists

Returns:
bool

Definition at line 230 of file oxwarticlebox.php.

oxwArticleBox.getDisableToCart (  ) 

Returns if toCart must be disabled

Returns:
bool

Definition at line 165 of file oxwarticlebox.php.

oxwArticleBox.getIndex (  ) 

Returns list item id with identifier

Returns:
string

Definition at line 175 of file oxwarticlebox.php.

oxwArticleBox.getIteration (  ) 

Returns iteration number

Returns:
string

Definition at line 195 of file oxwarticlebox.php.

oxwArticleBox.getLink ( iLang = null  ) 

get link of current top view

Parameters:
int $iLang requested language
Returns:
string

Reimplemented from oxUBase.

Definition at line 115 of file oxwarticlebox.php.

oxwArticleBox.getProduct (  ) 

Get product article

Returns:
oxArticle

Reimplemented from oxUBase.

Definition at line 88 of file oxwarticlebox.php.

oxwArticleBox.getRecommId (  ) 

Returns recommendation id

Returns:
string

Definition at line 185 of file oxwarticlebox.php.

oxwArticleBox.getRemoveFunction (  ) 

Returns remove function

Returns:
string

Definition at line 145 of file oxwarticlebox.php.

oxwArticleBox.getRSSLinks (  ) 

Returns RSS links

Returns:
array|null

Definition at line 205 of file oxwarticlebox.php.

oxwArticleBox.getShowMainLink (  ) 

Returns the answer if main link must be showed

Returns:
bool

Definition at line 220 of file oxwarticlebox.php.

oxwArticleBox.getToBasketFunction (  ) 

Returns toBasket function

Returns:
string

Definition at line 155 of file oxwarticlebox.php.

oxwArticleBox.getWishId (  ) 

Returns wishlist id

Returns:
string

Definition at line 135 of file oxwarticlebox.php.

oxwArticleBox.isVatIncluded (  ) 

Returns if VAT is included in price

Returns:
bool

Reimplemented from oxUBase.

Definition at line 125 of file oxwarticlebox.php.

oxwArticleBox.render (  ) 

Renders template based on widget type or just use directly passed path of template

Returns:
string

Reimplemented from oxUBase.

Definition at line 54 of file oxwarticlebox.php.

oxwArticleBox.setProduct ( oArticle  ) 

Sets box product

Parameters:
oxArticle $oArticle Box product

Definition at line 78 of file oxwarticlebox.php.


Member Data Documentation

oxwArticleBox.$_aComponentNames = array('oxcmp_user' => 1, 'oxcmp_basket' => 1, 'oxcmp_cur' => 1) [protected]

Reimplemented from oxWidget.

Definition at line 16 of file oxwarticlebox.php.

oxwArticleBox.$_oArticle = null [protected]

Definition at line 31 of file oxwarticlebox.php.

oxwArticleBox.$_sTemplate = 'widget/product/boxproduct.tpl' [protected]

Definition at line 23 of file oxwarticlebox.php.


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