Function __global->send_content_validated_notification
Definitions
sources/submit.php
- Send a "your content has been validated" notification out to the submitter of some content. Only call if this is true ;).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_type | ID_TEXT | No | No | required parameter | N/A | N/A | Content type |
| $content_id | ID_TEXT | No | No | required parameter | N/A | N/A | Content ID |
| $points_credited | integer | No | No | 0 | N/A | N/A | If points were not credited until after validation, specify how many points were credited (<=0: no mention of points will be included in this notification) |
Preview
Code (PHP)
/**
* Send a "your content has been validated" notification out to the submitter of some content. Only call if this is true ;).
*
* @param ID_TEXT $content_type Content type
* @param ID_TEXT $content_id Content ID
* @param integer $points_credited If points were not credited until after validation, specify how many points were credited (<=0: no mention of points will be included in this notification)
*/
function send_content_validated_notification(string $content_type, string $content_id, int $points_credited = 0)
* Send a "your content has been validated" notification out to the submitter of some content. Only call if this is true ;).
*
* @param ID_TEXT $content_type Content type
* @param ID_TEXT $content_id Content ID
* @param integer $points_credited If points were not credited until after validation, specify how many points were credited (<=0: no mention of points will be included in this notification)
*/
function send_content_validated_notification(string $content_type, string $content_id, int $points_credited = 0)
