Function __global->content_validated
Definitions
sources/submit.php
- Find whether some content is validated.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
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 |
Returns
- Whether it is validated
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find whether some content is validated.
*
* @param ID_TEXT $content_type Content type
* @param ID_TEXT $content_id Content ID
* @return boolean Whether it is validated
*/
function content_validated(string $content_type, string $content_id) : bool
* Find whether some content is validated.
*
* @param ID_TEXT $content_type Content type
* @param ID_TEXT $content_id Content ID
* @return boolean Whether it is validated
*/
function content_validated(string $content_type, string $content_id) : bool

