Go to the source code of this file.
Namespaces |
| namespace | core |
Variables |
| | $contextid = required_param('contextid', PARAM_INT) |
| | $component = required_param('component', PARAM_COMPONENT) |
| | $ratingarea = required_param('ratingarea', PARAM_AREA) |
| | $itemid = required_param('itemid', PARAM_INT) |
| | $scaleid = required_param('scaleid', PARAM_INT) |
| | $userrating = required_param('rating', PARAM_INT) |
| | $rateduserid = required_param('rateduserid', PARAM_INT) |
| | $returnurl = required_param('returnurl', PARAM_LOCALURL) |
| | $result = new stdClass |
if(!confirm_sesskey()||!has_capability('moodle/rating:rate',
$context)) | $rm = new rating_manager() |
| | $pluginpermissionsarray = $rm->get_plugin_permissions_array($context->id, $component, $ratingarea) |
Variable Documentation