Class: Console_CommandLine_XmlParser
Source Location: /Console_CommandLine-1.0.0RC1/CommandLine/XmlParser.php
Parser for command line xml definitions.
Author(s):
Version:
- Release: @package_version@
Copyright:
Inherited Variables
Inherited Methods
Class Details
[line 41]
Parser for command line xml definitions.
Method Detail
parse [line 55]
object a parse(
string
$xmlfile)
Parse the given xml definition file and return a Console_CommandLine instance constructed with the xml data.
- Return: Console_CommandLine instance
- Access: public
Parameters:
string
$xmlfile
—
the xml file to parse
parseString [line 81]
object a parseString(
string
$xmlstr)
Parse the given xml definition string and return a Console_CommandLine instance constructed with the xml data.
- Return: Console_CommandLine instance
- Access: public
Parameters:
string
$xmlstr
—
the xml string to parse
validate [line 102]
boolean validate(
object
$doc)
Validate the xml definition using Relax NG
Parameters:
object
$doc
—
a DomDocument instance (the document to validate)
Documentation generated on 2019年3月11日 15:14:50 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.