| [ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 243 lines (9 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
XmlFileLoader:: (8 methods):
load()
parseNode()
supports()
parseRoute()
parseImport()
loadFile()
parseConfigs()
isElementValueNull()
Class: XmlFileLoader - X-Ref
XmlFileLoader loads XML routing files.| load($file, $type = null) X-Ref |
| Loads an XML file. param: string $file An XML file path param: string|null $type The resource type return: RouteCollection A RouteCollection instance |
| parseNode(RouteCollection $collection, \DOMElement $node, $path, $file) X-Ref |
| Parses a node from a loaded XML file. param: RouteCollection $collection Collection to associate with the node param: \DOMElement $node Element to parse param: string $path Full path of the XML file being processed param: string $file Loaded file name |
| supports($resource, $type = null) X-Ref |
| {@inheritdoc} |
| parseRoute(RouteCollection $collection, \DOMElement $node, $path) X-Ref |
| Parses a route and adds it to the RouteCollection. param: RouteCollection $collection RouteCollection instance param: \DOMElement $node Element to parse that represents a Route param: string $path Full path of the XML file being processed |
| parseImport(RouteCollection $collection, \DOMElement $node, $path, $file) X-Ref |
| Parses an import and adds the routes in the resource to the RouteCollection. param: RouteCollection $collection RouteCollection instance param: \DOMElement $node Element to parse that represents a Route param: string $path Full path of the XML file being processed param: string $file Loaded file name |
| loadFile($file) X-Ref |
| Loads an XML file. param: string $file An XML file path return: \DOMDocument |
| parseConfigs(\DOMElement $node, $path) X-Ref |
| Parses the config elements (default, requirement, option). param: \DOMElement $node Element to parse that contains the configs param: string $path Full path of the XML file being processed return: array An array with the defaults as first item, requirements as second and options as third. |
| isElementValueNull(\DOMElement $element) X-Ref |
| No description |
| Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |