◆ getTriggers()
◆ getTypes()
An array of types (As returned by gettype) for all data this plugin can operate on.
- Returns
- array List of types
Reimplemented from Plugin.
◆ parse()
◆ xmlToDOMDocument()
static xmlToDOMDocument |
( |
|
$var, |
|
|
|
$parent_path |
|
) |
| |
|
staticprotected |
Get the DOMDocument info.
The documentation of DOMDocument::loadXML() states that while you can call it statically, it will give an E_STRICT warning. On my system it actually gives an E_DEPRECATED warning, but it works so we'll just add an error-silencing '@' to the access path.
If it errors loading then we wouldn't have gotten this far in the first place.
- Parameters
-
string | $var | The XML string |
null | string | $parent_path | The path to the parent, in this case the XML string |
- Returns
- null|array The root element DOMNode, the access path, and the root element name
◆ xmlToSimpleXML()
static xmlToSimpleXML |
( |
|
$var, |
|
|
|
$parent_path |
|
) |
| |
|
staticprotected |
◆ $parse_method
$parse_method = 'SimpleXML' |
|
static |
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/class/libraries/vendor/kint-php/kint/src/Parser/XmlPlugin.php