Function __global->_check_tag
Definitions
sources/webstandards.php
- Checks an XHTML tag for conformance, including attributes. Return the results.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$tag | string | required parameter | N/A | N/A | The name of the tag to check |
$attributes | array | required parameter | N/A | N/A | A map of attributes (name=>value) the tag has |
$self_close | boolean | required parameter | N/A | N/A | Whether this is a self-closing tag |
$close | boolean | required parameter | N/A | N/A | Whether this is a closing tag |
$errors | array | required parameter | N/A | N/A | Errors detected so far. We will add to these and return |
Return
- String for tag basis form, or array of error information
- Type: mixed
- Set: N/A
- Range: N/A