Public Member Functions | Protected Attributes

oxwRating Class Reference

Inheritance diagram for oxwRating:
Collaboration diagram for oxwRating:

List of all members.

Public Member Functions

 render ()
 getRatingValue ()
 getRatingCount ()
 getRateUrl ()
 canRate ()
 getArticleNId ()

Protected Attributes

 $_aComponentNames = array('oxcmp_user' => 1)
 $_sThisTemplate = 'widget/reviews/rating.tpl'
 $_dRatingValue = null
 $_iRatingCnt = null

Detailed Description

Product Ratings widget. Forms product ratings.

Definition at line 7 of file oxwrating.php.


Member Function Documentation

oxwRating.canRate (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 97 of file oxwrating.php.

oxwRating.getArticleNId (  ) 

Template variable getter. Returns article nid

Returns:
string

Definition at line 107 of file oxwrating.php.

oxwRating.getRateUrl (  ) 

Template variable getter. Returns rating url

Returns:
string

Definition at line 87 of file oxwrating.php.

oxwRating.getRatingCount (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 77 of file oxwrating.php.

oxwRating.getRatingValue (  ) 

Template variable getter. Returns rating value

Returns:
double

Definition at line 59 of file oxwrating.php.

oxwRating.render (  ) 

Executes parent.render(). Returns name of template file to render.

Returns:
string current template file name

Reimplemented from oxUBase.

Definition at line 47 of file oxwrating.php.


Member Data Documentation

oxwRating.$_aComponentNames = array('oxcmp_user' => 1) [protected]

Reimplemented from oxWidget.

Definition at line 17 of file oxwrating.php.

oxwRating.$_dRatingValue = null [protected]

Definition at line 31 of file oxwrating.php.

oxwRating.$_iRatingCnt = null [protected]

Definition at line 38 of file oxwrating.php.

oxwRating.$_sThisTemplate = 'widget/reviews/rating.tpl' [protected]

Reimplemented from oxView.

Definition at line 24 of file oxwrating.php.


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