Skip to end of metadata
Go to start of metadata
Properties
Field | Type | Comment/Sample |
---|
maxScore
| integer
| |
name
| string
| |
score
| BigDecimal
| |
Methods
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.
empty star quarter star half star three quarter star 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