API Documentation

Tool/Framework/Client/Abstract.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: Abstract.php 20967 2010-02-07 18:17:49Z ralph $
Classes
Zend_Tool_Framework_Client_Abstract

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_Abstract

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
$_interactiveCallback
$_isInitialized
$_debugLogger
Methods
__construct
setOptions
getName
initialize
_preInit
_preDispatch
_postDispatch
setRegistry
getRegistry
hasInteractiveInput
promptInteractiveInput
dispatch
convertToClientNaming
convertFromClientNaming
_handleDispatch
_handleDispatchExecution

Description

Properties

$_debugLogger

Zend_Log $_debugLogger = 'null'

Details

$_debugLogger
Zend_Log
visibility
protected
default
null
final
false
static
false

$_interactiveCallback

callback|null $_interactiveCallback = 'null'

Details

$_interactiveCallback
callback|null
visibility
protected
default
null
final
false
static
false

$_isInitialized

bool $_isInitialized = 'false'

Details

$_isInitialized
bool
visibility
protected
default
false
final
false
static
false

$_registry

Zend_Tool_Framework_Registry $_registry = 'null'

Details

$_registry
Zend_Tool_Framework_Registry
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct(  $options = array ) :
Arguments
$options
Details
visibility
public
final
false
static
false

_handleDispatch

_handleDispatch( ) :
Details
visibility
protected
final
false
static
false

_handleDispatchExecution

_handleDispatchExecution(  $class,  $methodName,  $callParameters ) :
Arguments
$class
$methodName
$callParameters
Details
visibility
protected
final
false
static
false

_postDispatch

_postDispatch( ) :

This method should be implemented by the client implementation to take the output of the response object and return it (in an client specific way) back to the Tooling Client.

Details
visibility
protected
final
false
static
false

_preDispatch

_preDispatch( ) :

This method *must* be implemented by the client implementation to parse out and setup the request objects action, provider and parameter information.

Details
visibility
protected
final
false
static
false

_preInit

_preInit( ) :

This method should be implemented by the client implementation to construct and set custom inflectors, request and response objects.

Details
visibility
protected
final
false
static
false

convertFromClientNaming

convertFromClientNaming(  $string ) :
Arguments
$string
Details
visibility
public
final
false
static
false

convertToClientNaming

convertToClientNaming(  $string ) :
Arguments
$string
Details
visibility
public
final
false
static
false

dispatch

dispatch( ) :

This method should be called in order to "handle" a Tooling Client request that has come to the client that has been implemented.

Details
visibility
public
final
false
static
false

getName

getName( ) : string

getName() - Return the client name which can be used to query the manifest if need be.

Output
string
The client name
Details
visibility
public
final
false
static
false

getRegistry

getRegistry( ) : Zend_Tool_Framework_Registry_Interface

getRegistry();

Details
visibility
public
final
false
static
false

hasInteractiveInput

hasInteractiveInput( ) : bool

hasInteractiveInput() - Convienence method for determining if this client can handle interactive input, and thus be able to run the promptInteractiveInput

Output
bool
Details
visibility
public
final
false
static
false

initialize

initialize( ) :

initialized() - This will initialize the client for use

Details
visibility
public
final
false
static
false

promptInteractiveInput

promptInteractiveInput(  $inputRequest ) :
Arguments
$inputRequest
Details
visibility
public
final
false
static
false

setOptions

setOptions(  $options ) :
Arguments
$options
Details
visibility
public
final
false
static
false

setRegistry

setRegistry( Zend_Tool_Framework_Registry_Interface $registry ) : Zend_Tool_Framework_Client_Abstract

setRegistry() - Required by the Zend_Tool_Framework_Registry_EnabledInterface interface which ensures proper registry dependency resolution

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