Function __global->schedule_validation
Definitions
sources/validation.php
- Schedule a piece of content for validation.
- 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 | The content type to be validated |
| $content_id | ID_TEXT | No | No | required parameter | N/A | N/A | The content ID to be validated |
| $validation_time | ?array | No | No | Null | N/A | N/A | The UTC date components specifying when the content should be validated (null: remove the schedule) |
Preview
Code (PHP)
/**
* Schedule a piece of content for validation.
*
* @param ID_TEXT $content_type The content type to be validated
* @param ID_TEXT $content_id The content ID to be validated
* @param ?array $validation_time The UTC date components specifying when the content should be validated (null: remove the schedule)
*/
function schedule_validation(string $content_type, string $content_id, ?array $validation_time = null)
* Schedule a piece of content for validation.
*
* @param ID_TEXT $content_type The content type to be validated
* @param ID_TEXT $content_id The content ID to be validated
* @param ?array $validation_time The UTC date components specifying when the content should be validated (null: remove the schedule)
*/
function schedule_validation(string $content_type, string $content_id, ?array $validation_time = null)
