getAlbumRating [line 195]
Returns the rating of the designated album
Parameters:
|
string |
$option: |
'totalvalue' or 'totalvotes' |
|
int |
$id: |
Record id for the album |
int getAlbumRating(
string $option, int $id
)
|
|
getAlbumRatingCurrent [line 179]
Returns the average rating of the album
Parameters:
|
int |
$id: |
Record id for the album |
real getAlbumRatingCurrent(
int $id
)
|
|
getImageRating [line 52]
Returns the rating of the designated image
Parameters:
|
string |
$option: |
'totalvalue' or 'totalvotes' |
|
int |
$id: |
Record id for the image |
int getImageRating(
string $option, int $id
)
|
|
getImageRatingCurrent [line 62]
Returns the average rating of the image
Parameters:
|
int |
$id: |
the id of the image |
real getImageRatingCurrent(
int $id
)
|
|
getRating [line 140]
Get the rating for an image or album,
Parameters:
|
string |
$option: |
'totalvalue' or 'totalvotes' |
|
string |
$option2: |
'image' or 'album' |
|
int |
$id: |
id of the image or album |
API Tags:
| See: | getImageRating() and getAlbumRating() |
unknown getRating(
string $option, string $option2, int $id
)
|
|
printAlbumRating [line 169]
Prints the image rating information for the current image
printImageRating [line 75]
Prints the image rating information for the current image
printRating [line 86]
Prints the rating accordingly to option, it's a combined function for image and album rating
Parameters:
|
string |
$option: |
"image" for image rating, "album" for album rating. |
API Tags:
| See: | printImageRating() and printAlbumRating() |
void printRating(
string $option
)
|
|