Procedural File: pnuser.php
Source Location: /modules/Ratings/pnuser.php
Page Details:
Zikula Application Framework
Tags:
ratings_user_display [line 32]
string ratings_user_display(
$args['objectid'] $args, $args['extrainfo'] 1, $args['style'] 2)
|
|
display rating for a specific item, and request rating
Tags:
Parameters
| $args['extrainfo'] |
1 |
URL to return to if user chooses to rate |
| $args['style'] |
2 |
style to display this rating in (optional) |
| $args['objectid'] |
$args |
ID of the item this rating is for |
ratings_user_main [line 18]
HTML ratings_user_main(
)
|
|
The main ratings user function
Tags:
ratings_user_rate [line 180]
bool ratings_user_rate(
$args['modname'] $args, $args['objectid'] 1, $args['ratingtype'] 2, $args['returnurl'] 3, $args['rating'] 4)
|
|
Process rating form Takes input from the rating form and passes this to the API
Tags:
Parameters
| $args['objectid'] |
1 |
ID of object in source module |
| $args['ratingtype'] |
2 |
specific type of rating for this item (optional) |
| $args['returnurl'] |
3 |
URL to return to if user chooses to rate |
| $args['rating'] |
4 |
rating user selected |
| $args['modname'] |
$args |
Source module name for which we're rating an oject |
|
|