Function __global->_check_attributes
Definitions
sources/webstandards2.php
- Checks a tag's attributes.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
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 |
Return
- Array of errors (null: none)
- Type: ?array
- Set: N/A
- Range: N/A