See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
(no description)
File Size: | 176 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
XMLReader:: (10 methods):
openFileInZip()
getRealPathURIForFileInZip()
fileExistsWithinZip()
read()
readUntilNodeFound()
next()
isPositionedOnStartingNode()
isPositionedOnEndingNode()
isPositionedOnNode()
getCurrentNodeName()
openFileInZip($zipFilePath, $fileInsideZipPath) X-Ref |
Opens the XML Reader to read a file located inside a ZIP file. param: string $zipFilePath Path to the ZIP file param: string $fileInsideZipPath Relative or absolute path of the file inside the zip return: bool TRUE on success or FALSE on failure |
getRealPathURIForFileInZip($zipFilePath, $fileInsideZipPath) X-Ref |
Returns the real path for the given path components. This is useful to avoid issues on some Windows setup. param: string $zipFilePath Path to the ZIP file param: string $fileInsideZipPath Relative or absolute path of the file inside the zip return: string The real path URI |
fileExistsWithinZip($zipStreamURI) X-Ref |
Returns whether the file at the given location exists param: string $zipStreamURI URI of a zip stream, e.g. "zip://file.zip#path/inside.xml" return: bool TRUE if the file exists, FALSE otherwise |
read() X-Ref |
Move to next node in document return: bool TRUE on success or FALSE on failure |
readUntilNodeFound($nodeName) X-Ref |
Read until the element with the given name is found, or the end of the file. param: string $nodeName Name of the node to find return: bool TRUE on success or FALSE on failure |
next($localName = null) X-Ref |
Move cursor to next node skipping all subtrees param: string|null $localName The name of the next node to move to return: bool TRUE on success or FALSE on failure |
isPositionedOnStartingNode($nodeName) X-Ref |
param: string $nodeName return: bool Whether the XML Reader is currently positioned on the starting node with given name |
isPositionedOnEndingNode($nodeName) X-Ref |
param: string $nodeName return: bool Whether the XML Reader is currently positioned on the ending node with given name |
isPositionedOnNode($nodeName, $nodeType) X-Ref |
param: string $nodeName param: int $nodeType return: bool Whether the XML Reader is currently positioned on the node with given name and type |
getCurrentNodeName() X-Ref |
return: string The name of the current node, un-prefixed |