Function __global->display_webstandards_results
Definitions
sources/view_modes.php
- Show results of running a webstandards checking function.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $out | string | No | No | required parameter | N/A | N/A | The data that was checked |
| $error | array | No | No | required parameter | N/A | N/A | Error information |
| $preview_mode | boolean | No | No | False | N/A | N/A | Whether we are opening up an XHTML-fragment in a preview box |
| $ret | boolean | No | No | False | N/A | N/A | Whether to return Tempcode |
Returns
- Returned result (won't return it $ret is false)
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Show results of running a webstandards checking function.
*
* @param string $out The data that was checked
* @param array $error Error information
* @param boolean $preview_mode Whether we are opening up an XHTML-fragment in a preview box
* @param boolean $ret Whether to return Tempcode
* @return string Returned result (won't return it $ret is false)
*/
function display_webstandards_results(string $out, array $error, bool $preview_mode = false, bool $ret = false) : string
* Show results of running a webstandards checking function.
*
* @param string $out The data that was checked
* @param array $error Error information
* @param boolean $preview_mode Whether we are opening up an XHTML-fragment in a preview box
* @param boolean $ret Whether to return Tempcode
* @return string Returned result (won't return it $ret is false)
*/
function display_webstandards_results(string $out, array $error, bool $preview_mode = false, bool $ret = false) : string

