API Documentation

Tool/Framework/Client/Console/ArgumentParser.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
subpackage
Framework
version
$Id: ArgumentParser.php 22878 2010-08-21 19:59:35Z ramon $
Classes
Zend_Tool_Framework_Client_Console_ArgumentParser

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Tool_Framework_Client_Console_ArgumentParser

Implements
Zend_Tool_Framework_Registry_EnabledInterface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Tool
Properties
$_registry
$_manifestRepository
$_request
$_response
$_argumentsOriginal
$_argumentsWorking
$_help
$_helpKnownAction
$_helpKnownProvider
$_helpKnownSpecialty
Methods
setArguments
setRegistry
parse
_parseGlobalPart
_parseActionPart
_parseProviderPart
_parseProviderOptionsPart
_createHelpResponse

Description

Properties

$_argumentsOriginal

 $_argumentsOriginal = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_argumentsWorking

 $_argumentsWorking = 'null'

Details

visibility
protected
default
null
final
false
static
false

$_help

bool $_help = 'false'

Details

$_help
bool
visibility
protected
default
false
final
false
static
false

$_helpKnownAction

 $_helpKnownAction = 'false'

Details

visibility
protected
default
false
final
false
static
false

$_helpKnownProvider

 $_helpKnownProvider = 'false'

Details

visibility
protected
default
false
final
false
static
false

$_helpKnownSpecialty

 $_helpKnownSpecialty = 'false'

Details

visibility
protected
default
false
final
false
static
false

$_manifestRepository

Zend_Tool_Framework_Manifest_Repository $_manifestRepository = 'null'

Holds the manifest repository taken from the registry.

Details

$_manifestRepository
Zend_Tool_Framework_Manifest_Repository
visibility
protected
default
null
final
false
static
false

$_registry

Zend_Tool_Framework_Registry_Interface $_registry = 'null'

Details

$_registry
Zend_Tool_Framework_Registry_Interface
visibility
protected
default
null
final
false
static
false

$_request

Zend_Tool_Framework_Client_Request $_request = 'null'

Details

$_request
Zend_Tool_Framework_Client_Request
visibility
protected
default
null
final
false
static
false

$_response

Zend_Tool_Framework_Client_Response $_response = 'null'

Details

$_response
Zend_Tool_Framework_Client_Response
visibility
protected
default
null
final
false
static
false

Methods

_createHelpResponse

_createHelpResponse( unknown_type $options = array ) :

_createHelpResponse

Arguments
$options
unknown_type
Details
visibility
protected
final
false
static
false

_parseActionPart

_parseActionPart( ) : null

Internal routine for parsing the action name from the arguments

Output
null
Details
visibility
protected
final
false
static
false

_parseGlobalPart

_parseGlobalPart( ) : null

Internal routine for parsing global options from the command line

Output
null
Details
visibility
protected
final
false
static
false

_parseProviderOptionsPart

_parseProviderOptionsPart( ) : null

Internal routine for parsing the provider options from the command line

Output
null
Details
visibility
protected
final
false
static
false

_parseProviderPart

_parseProviderPart( ) : null

Internal routine for parsing the provider part of the command line arguments

Output
null
Details
visibility
protected
final
false
static
false

parse

parse( ) : null

Parse() - This method does the work of parsing the arguments into the enpooint request, this will also (during help operations) fill the response in with information as needed

Output
null
Details
visibility
public
final
false
static
false

setArguments

setArguments( array $arguments ) : Zend_Tool_Framework_Client_Console_ArgumentParser

setArguments

Arguments
$arguments
array
Details
visibility
public
final
false
static
false

setRegistry

setRegistry( Zend_Tool_Framework_Registry_Interface $registry ) : Zend_Tool_Framework_Client_Console_ArgumentParser

setRegistry()

Arguments
$registry
Zend_Tool_Framework_Registry_Interface
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.