Function __global->comcode_safelisted
Definitions
sources/comcode_renderer.php
- Find if some Comcode tag sequence in the parsing stream is safelisted.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $tag | string | No | No | required parameter | N/A | N/A | The tag being converted |
| $marker | integer | No | No | required parameter | N/A | N/A | The position this tag occurred at in the Comcode |
| $comcode | string | No | No | required parameter | N/A | N/A | The whole chunk of Comcode |
Returns
- Whether it is
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if some Comcode tag sequence in the parsing stream is safelisted.
*
* @param string $tag The tag being converted
* @param integer $marker The position this tag occurred at in the Comcode
* @param string $comcode The whole chunk of Comcode
* @return boolean Whether it is
*/
function comcode_safelisted(string $tag, int $marker, string $comcode) : bool
* Find if some Comcode tag sequence in the parsing stream is safelisted.
*
* @param string $tag The tag being converted
* @param integer $marker The position this tag occurred at in the Comcode
* @param string $comcode The whole chunk of Comcode
* @return boolean Whether it is
*/
function comcode_safelisted(string $tag, int $marker, string $comcode) : bool

