Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Properties

 

Field

Type

Comment/Sample

maxScore

integer

 

name

string

 

score

BigDecimal

 

Methods

Method

Returns

Parameters

Parameter Types

Comments/Sample

getName()string   
getScore()BigDecimal   
getScoreAsStarsstring  returns back <img> html
getScoresAsRectangles()    
getScoresAsImages()    
getScoresAsImagesstring[]  

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

  • No labels