ItemReviewRating SFO

ItemReviewRating SFO

Properties

 

Field

Type

Comment/Sample

Field

Type

Comment/Sample

Methods

Method

Returns

Parameters

Parameter Types

Comments/Sample

Method

Returns

Parameters

Parameter Types

Comments/Sample

getName()

string

 

 

 

getScore()

BigDecimal

 

 

 

getScoreAsStars

string

 

 

returns back <img> html

getScoresAsRectangles()

 

 

 

 

getScoresAsImages()

 

 

 

 

getScoresAsImages

string[]

 

 

array needs to have 5 elements, each of which is a complete url to an image.

  1. empty star

  2. quarter star

  3. half star

  4. three quarter star

  5. full star

Examples:

http://secure.ultracart.com/checkout/images/star_fade_0_4.png
http://secure.ultracart.com/checkout/images/star_fade_1_4.png
http://secure.ultracart.com/checkout/images/star_fade_2_4.png
http://secure.ultracart.com/checkout/images/star_fade_3_4.png
http://secure.ultracart.com/checkout/images/star_fade_4_4.png

See Also