Function __global->actualise_specific_rating
Definitions
sources/feedback.php
- Implement a rating at the quantum level.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$rating | ?integer | No | No | required parameter | N/A | 1 10 | Rating given (null: unrate) |
$page_name | ID_TEXT | No | No | required parameter | N/A | N/A | The page name the rating is on |
$member_id | MEMBER | No | No | required parameter | N/A | N/A | The member doing the rating |
$feedback_type | ID_TEXT | No | No | required parameter | N/A | N/A | The type (downloads, etc) that this rating is for |
$type | ID_TEXT | No | No | required parameter | N/A | N/A | The second level type (probably blank) |
$content_id | ID_TEXT | No | No | required parameter | N/A | N/A | The ID of the type that this rating is for |
$content_url | mixed | No | No | required parameter | N/A | N/A | The URL to where the commenting will pass back to (to put into the comment topic header) (URLPATH or Tempcode) |
$content_title | ?string | No | No | required parameter | N/A | N/A | The title to where the commenting will pass back to (to put into the comment topic header) (null: don't know) |
Preview
Code (PHP)
/**
* Implement a rating at the quantum level.
*
* @param ?integer $rating Rating given (null: unrate)
* @range 1 10
* @param ID_TEXT $page_name The page name the rating is on
* @param MEMBER $member_id The member doing the rating
* @param ID_TEXT $feedback_type The type (downloads, etc) that this rating is for
* @param ID_TEXT $type The second level type (probably blank)
* @param ID_TEXT $content_id The ID of the type that this rating is for
* @param mixed $content_url The URL to where the commenting will pass back to (to put into the comment topic header) (URLPATH or Tempcode)
* @param ?string $content_title The title to where the commenting will pass back to (to put into the comment topic header) (null: don't know)
*/
function actualise_specific_rating(?int $rating, string $page_name, int $member_id, string $feedback_type, string $type, string $content_id, $content_url, ?string $content_title)
* Implement a rating at the quantum level.
*
* @param ?integer $rating Rating given (null: unrate)
* @range 1 10
* @param ID_TEXT $page_name The page name the rating is on
* @param MEMBER $member_id The member doing the rating
* @param ID_TEXT $feedback_type The type (downloads, etc) that this rating is for
* @param ID_TEXT $type The second level type (probably blank)
* @param ID_TEXT $content_id The ID of the type that this rating is for
* @param mixed $content_url The URL to where the commenting will pass back to (to put into the comment topic header) (URLPATH or Tempcode)
* @param ?string $content_title The title to where the commenting will pass back to (to put into the comment topic header) (null: don't know)
*/
function actualise_specific_rating(?int $rating, string $page_name, int $member_id, string $feedback_type, string $type, string $content_id, $content_url, ?string $content_title)