Function __global->comcode_censored_raw_code_access
Definitions
sources/comcode_cleanup.php
- Censor some Comcode raw code so that another user can see it.This function isn't designed to be perfectly secure, and we don't guarantee it's always run, but as a rough thing we prefer to do it.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $comcode | string | No | No | required parameter | N/A | N/A | Comcode |
| $aggressive | ?MEMBER | No | No | Null | N/A | N/A | Force an HTML-evaluation of the Comcode through this security ID then back to Comcode, as a security technique (null: don't) |
Returns
- Censored Comcode
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Censor some Comcode raw code so that another user can see it.This function isn't designed to be perfectly secure, and we don't guarantee it's always run, but as a rough thing we prefer to do it.
*
* @param string $comcode Comcode
* @param ?MEMBER $aggressive Force an HTML-evaluation of the Comcode through this security ID then back to Comcode, as a security technique (null: don't)
* @return string Censored Comcode
*/
function comcode_censored_raw_code_access(string $comcode, ?int $aggressive = null) : string
* Censor some Comcode raw code so that another user can see it.This function isn't designed to be perfectly secure, and we don't guarantee it's always run, but as a rough thing we prefer to do it.
*
* @param string $comcode Comcode
* @param ?MEMBER $aggressive Force an HTML-evaluation of the Comcode through this security ID then back to Comcode, as a security technique (null: don't)
* @return string Censored Comcode
*/
function comcode_censored_raw_code_access(string $comcode, ?int $aggressive = null) : string

