[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 231 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
XmlUtils:: (5 methods):
__construct()
loadFile()
convertDomElementToArray()
phpize()
getXmlErrors()
__construct() X-Ref |
This class should not be instantiated. |
loadFile($file, $schemaOrCallable = null) X-Ref |
Loads an XML file. param: string $file An XML file path param: string|callable $schemaOrCallable An XSD schema file path or callable return: \DOMDocument |
convertDomElementToArray(\DomElement $element, $checkPrefix = true) X-Ref |
Converts a \DomElement object to a PHP array. The following rules applies during the conversion: * Each tag is converted to a key value or an array if there is more than one "value" * The content of a tag is set under a "value" key (<foo>bar</foo>) if the tag also has some nested tags * The attributes are converted to keys (<foo foo="bar"/>) * The nested-tags are converted to keys (<foo><foo>bar</foo></foo>) param: \DomElement $element A \DomElement instance param: bool $checkPrefix Check prefix in an element or an attribute name return: array A PHP array |
phpize($value) X-Ref |
Converts an xml value to a PHP type. param: mixed $value return: mixed |
getXmlErrors($internalErrors) X-Ref |
No description |
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |