Console_CommandLine
[ class tree: Console_CommandLine ] [ index: Console_CommandLine ] [ all elements ]
Packages:
Console_CommandLine


Classes:
Console_CommandLine
Console_CommandLine_Action
Console_CommandLine_Action_Callback
Console_CommandLine_Action_Counter
Console_CommandLine_Action_Help
Console_CommandLine_Action_Password
Console_CommandLine_Action_StoreArray
Console_CommandLine_Action_StoreFalse
Console_CommandLine_Action_StoreFloat
Console_CommandLine_Action_StoreInt
Console_CommandLine_Action_StoreString
Console_CommandLine_Action_StoreTrue
Console_CommandLine_Action_Version
Console_CommandLine_Argument
Console_CommandLine_Command
Console_CommandLine_Element
Console_CommandLine_Exception
Console_CommandLine_MessageProvider_Default
Console_CommandLine_Option
Console_CommandLine_Outputter_Default
Console_CommandLine_Renderer_Default
Console_CommandLine_Result
Console_CommandLine_XmlParser
Files:
Action.php
Argument.php
Callback.php
Command.php
CommandLine.php
Counter.php
Default.php
Default.php
Default.php
Element.php
ex1.php
ex2.php
Exception.php
Help.php
MessageProvider.php
Option.php
Outputter.php
Password.php
Renderer.php
Result.php
StoreArray.php
StoreFalse.php
StoreFloat.php
StoreInt.php
StoreString.php
StoreTrue.php
Version.php
XmlParser.php

Class: Console_CommandLine_XmlParser

Source Location: /Console_CommandLine-1.0.0RC1/CommandLine/XmlParser.php

Class Overview


Parser for command line xml definitions.


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2007 David JEAN LOUIS

Methods


Inherited Variables

Inherited Methods


Class Details

[line 41]
Parser for command line xml definitions.


[ Top ]


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

[ Top ]

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

[ Top ]

validate [line 102]

boolean validate( object $doc)

Validate the xml definition using Relax NG
  • Access: public

Parameters:

object $doc — a DomDocument instance (the document to validate)

[ Top ]


Documentation generated on 2019年3月11日 15:14:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /