Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Zend_Server_Abstract Class Reference

Public Member Functions

 __construct ()
 Constructor.
 
 getFunctions ()
 Returns a list of registered methods.
 
- Public Member Functions inherited from Zend_Server_Interface
 addFunction ($function, $namespace= '')
 Attach a function as a server method.
 
 setClass ($class, $namespace= '', $argv=null)
 Attach a class to a server.
 
 fault ($fault=null, $code=404)
 Generate a server fault.
 
 handle ($request=false)
 Handle a request.
 
 loadFunctions ($definition)
 Load server definition.
 
 setPersistence ($mode)
 Set server persistence.
 

Static Public Member Functions

static lowerCase (&$value, &$key)
 Lowercase a string.
 

Protected Member Functions

 _buildCallback (Zend_Server_Reflection_Function_Abstract $reflection)
 Build callback for method signature.
 
 _buildSignature (Zend_Server_Reflection_Function_Abstract $reflection, $class=null)
 Build a method signature.
 
 _dispatch (Zend_Server_Method_Definition $invocable, array $params)
 Dispatch method.
 
 _fixType ($type)
 Map PHP type to protocol type.
 

Protected Attributes

 $_overwriteExistingMethods = false
 
 $_table
 

Static Protected Attributes

static $magic_methods
 

Constructor & Destructor Documentation

__construct ( )

Constructor.

Setup server description

Returns
void

Member Function Documentation

_buildCallback ( Zend_Server_Reflection_Function_Abstract  $reflection)
protected

Build callback for method signature.

Parameters
Zend_Server_Reflection_Function_Abstract$reflection
Returns
Zend_Server_Method_Callback
_buildSignature ( Zend_Server_Reflection_Function_Abstract  $reflection,
  $class = null 
)
protected

Build a method signature.

Parameters
Zend_Server_Reflection_Function_Abstract$reflection
null | string | object$class
Returns
Zend_Server_Method_Definition
Exceptions
Zend_Server_Exceptionon duplicate entry
_dispatch ( Zend_Server_Method_Definition  $invocable,
array  $params 
)
protected

Dispatch method.

Parameters
Zend_Server_Method_Definition$invocable
array$params
Returns
mixed
_fixType (   $type)
abstractprotected

Map PHP type to protocol type.

Parameters
string$type
Returns
string
getFunctions ( )

Returns a list of registered methods.

Returns an array of method definitions.

Returns
Zend_Server_Definition

Implements Zend_Server_Interface.

static lowerCase ( $value,
$key 
)
static

Lowercase a string.

Lowercase's a string by reference

Deprecated:
Parameters
string$stringvalue
string$key
Returns
string Lower cased string

Member Data Documentation

$_overwriteExistingMethods = false
protected
$_table
protected
$magic_methods
staticprotected
Initial value:
= array(
'__call',
'__clone',
'__construct',
'__destruct',
'__get',
'__isset',
'__set',
'__set_state',
'__sleep',
'__tostring',
'__unset',
'__wakeup',
)