| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 418 lines (14 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
XmlFileLoader:: (12 methods):
load()
supports()
parseParameters()
parseImports()
parseDefinitions()
parseDefinition()
parseFile()
processAnonymousServices()
validateSchema()
validateExtensions()
loadFromExtensions()
convertDomElementToArray()
Class: XmlFileLoader - X-Ref
XmlFileLoader loads XML files service definitions.| load($resource, $type = null) X-Ref |
| {@inheritdoc} |
| supports($resource, $type = null) X-Ref |
| {@inheritdoc} |
| parseParameters(SimpleXMLElement $xml) X-Ref |
| Parses parameters. param: SimpleXMLElement $xml |
| parseImports(SimpleXMLElement $xml, $file) X-Ref |
| Parses imports. param: SimpleXMLElement $xml param: string $file |
| parseDefinitions(SimpleXMLElement $xml, $file) X-Ref |
| Parses multiple definitions. param: SimpleXMLElement $xml param: string $file |
| parseDefinition($id, $service, $file) X-Ref |
| Parses an individual Definition. param: string $id param: SimpleXMLElement $service param: string $file |
| parseFile($file) X-Ref |
| Parses a XML file. param: string $file Path to a file return: SimpleXMLElement |
| processAnonymousServices(SimpleXMLElement $xml, $file) X-Ref |
| Processes anonymous services. param: SimpleXMLElement $xml param: string $file |
| validateSchema(\DOMDocument $dom) X-Ref |
| Validates a documents XML schema. param: \DOMDocument $dom return: bool |
| validateExtensions(\DOMDocument $dom, $file) X-Ref |
| Validates an extension. param: \DOMDocument $dom param: string $file |
| loadFromExtensions(SimpleXMLElement $xml) X-Ref |
| Loads from an extension. param: SimpleXMLElement $xml |
| convertDomElementToArray(\DomElement $element) 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 return: array A PHP array |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |