API Documentation

Server/Method/Definition.php

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_Server
subpackage
Method
version
$Id: Definition.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Server_Method_Definition

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_Server_Method_Definition

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_Server
subpackage
Method
Properties
$_callback
$_invokeArguments
$_methodHelp
$_name
$_object
$_prototypes
Methods
__construct
setOptions
setName
getName
setCallback
getCallback
addPrototype
addPrototypes
setPrototypes
getPrototypes
setMethodHelp
getMethodHelp
setObject
getObject
setInvokeArguments
getInvokeArguments
toArray

Description

Method definition metadata

Properties

$_callback

Zend_Server_Method_Callback $_callback = ''

Details

$_callback
Zend_Server_Method_Callback
visibility
protected
default
final
false
static
false

$_invokeArguments

array $_invokeArguments = 'array'

Details

$_invokeArguments
array
visibility
protected
default
array
final
false
static
false

$_methodHelp

string $_methodHelp = ''

Details

$_methodHelp
string
visibility
protected
default
final
false
static
false

$_name

string $_name = ''

Details

$_name
string
visibility
protected
default
final
false
static
false

$_object

null|object $_object = ''

Details

$_object
null|object
visibility
protected
default
final
false
static
false

$_prototypes

array $_prototypes = 'array'

Details

$_prototypes
array
Array of Zend_Server_Method_Prototype objects
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( null|array $options = null ) : void

Constructor

Arguments
$options
nullarray
Details
visibility
public
final
false
static
false

addPrototype

addPrototype( array|Zend_Server_Method_Prototype $prototype ) : Zend_Server_Method_Definition

Add prototype to method definition

Arguments
$prototype
arrayZend_Server_Method_Prototype
Details
visibility
public
final
false
static
false

addPrototypes

addPrototypes( array $prototypes ) : Zend_Server_Method_Definition

Add multiple prototypes at once

Arguments
$prototypes
array
Array of Zend_Server_Method_Prototype objects or arrays
Details
visibility
public
final
false
static
false

getCallback

getCallback( ) : Zend_Server_Method_Callback

Get method callback

Details
visibility
public
final
false
static
false

getInvokeArguments

getInvokeArguments( ) : array

Retrieve invoke arguments

Output
array
Details
visibility
public
final
false
static
false

getMethodHelp

getMethodHelp( ) : string

Get method help

Output
string
Details
visibility
public
final
false
static
false

getName

getName( ) : string

Get method name

Output
string
Details
visibility
public
final
false
static
false

getObject

getObject( ) : null|object

Get object to use with method calls

Output
null|object
Details
visibility
public
final
false
static
false

getPrototypes

getPrototypes( ) : array

Get all prototypes

Output
array
$prototypes Array of Zend_Server_Method_Prototype objects or arrays
Details
visibility
public
final
false
static
false

setCallback

setCallback( array|Zend_Server_Method_Callback $callback ) : Zend_Server_Method_Definition

Set method callback

Arguments
$callback
arrayZend_Server_Method_Callback
Details
visibility
public
final
false
static
false

setInvokeArguments

setInvokeArguments( array $invokeArguments ) : Zend_Server_Method_Definition

Set invoke arguments

Arguments
$invokeArguments
array
Details
visibility
public
final
false
static
false

setMethodHelp

setMethodHelp( string $methodHelp ) : Zend_Server_Method_Definition

Set method help

Arguments
$methodHelp
string
Details
visibility
public
final
false
static
false

setName

setName( string $name ) : Zend_Server_Method_Definition

Set method name

Arguments
$name
string
Details
visibility
public
final
false
static
false

setObject

setObject( object $object ) : Zend_Server_Method_Definition

Set object to use with method calls

Arguments
$object
object
Details
visibility
public
final
false
static
false

setOptions

setOptions( array $options ) : Zend_Server_Method_Definition

Set object state from options

Arguments
$options
array
Details
visibility
public
final
false
static
false

setPrototypes

setPrototypes( array $prototypes ) : Zend_Server_Method_Definition

Set all prototypes at once (overwrites)

Arguments
$prototypes
array
Array of Zend_Server_Method_Prototype objects or arrays
Details
visibility
public
final
false
static
false

toArray

toArray( ) : array

Serialize to array

Output
array
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.