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 93 of file oxwrating.php.

oxwRating.getArticleNId (  ) 

Template variable getter. Returns article nid

Returns:
string

Definition at line 103 of file oxwrating.php.

oxwRating.getRateUrl (  ) 

Template variable getter. Returns rating url

Returns:
string

Definition at line 83 of file oxwrating.php.

oxwRating.getRatingCount (  ) 

Template variable getter. Returns rating count

Returns:
integer

Definition at line 73 of file oxwrating.php.

oxwRating.getRatingValue (  ) 

Template variable getter. Returns rating value

Returns:
double

Definition at line 56 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 45 of file oxwrating.php.


Member Data Documentation

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

Reimplemented from oxWidget.

Definition at line 15 of file oxwrating.php.

oxwRating.$_dRatingValue = null [protected]

Definition at line 29 of file oxwrating.php.

oxwRating.$_iRatingCnt = null [protected]

Definition at line 36 of file oxwrating.php.

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

Reimplemented from oxView.

Definition at line 22 of file oxwrating.php.


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