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 object
Returns:
bool

Definition at line 239 of file oxwarticlebox.php.

oxwArticleBox.getActiveCategory (  ) 

Returns active category

Returns:
null|oxCategory

Reimplemented from oxUBase.

Definition at line 35 of file oxwarticlebox.php.

oxwArticleBox.getAltProduct (  ) 

Returns if alternate product exists

Returns:
bool

Definition at line 226 of file oxwarticlebox.php.

oxwArticleBox.getDisableToCart (  ) 

Returns if toCart must be disabled

Returns:
bool

Definition at line 162 of file oxwarticlebox.php.

oxwArticleBox.getIndex (  ) 

Returns list item id with identifier

Returns:
string

Definition at line 172 of file oxwarticlebox.php.

oxwArticleBox.getIteration (  ) 

Returns iteration number

Returns:
string

Definition at line 192 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 112 of file oxwarticlebox.php.

oxwArticleBox.getProduct (  ) 

Get product article

Returns:
oxArticle

Reimplemented from oxUBase.

Definition at line 85 of file oxwarticlebox.php.

oxwArticleBox.getRecommId (  ) 

Returns recommendation id

Returns:
string

Definition at line 182 of file oxwarticlebox.php.

oxwArticleBox.getRemoveFunction (  ) 

Returns remove function

Returns:
string

Definition at line 142 of file oxwarticlebox.php.

oxwArticleBox.getRSSLinks (  ) 

Returns RSS links

Returns:
array|null

Definition at line 202 of file oxwarticlebox.php.

oxwArticleBox.getShowMainLink (  ) 

Returns the answer if main link must be showed

Returns:
bool

Definition at line 216 of file oxwarticlebox.php.

oxwArticleBox.getToBasketFunction (  ) 

Returns toBasket function

Returns:
string

Definition at line 152 of file oxwarticlebox.php.

oxwArticleBox.getWishId (  ) 

Returns wishlist id

Returns:
string

Definition at line 132 of file oxwarticlebox.php.

oxwArticleBox.isVatIncluded (  ) 

Returns if VAT is included in price

Returns:
bool

Reimplemented from oxUBase.

Definition at line 122 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 49 of file oxwarticlebox.php.

oxwArticleBox.setProduct ( oArticle  ) 

Sets box product

Parameters:
oxArticle $oArticle Box product
Returns:
null

Definition at line 75 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 14 of file oxwarticlebox.php.

oxwArticleBox.$_oArticle = null [protected]

Definition at line 27 of file oxwarticlebox.php.

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

Definition at line 20 of file oxwarticlebox.php.


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