API Documentation

Server/Method/Callback.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: Callback.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Server_Method_Callback

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_Callback

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
$_class
$_function
$_method
$_type
$_types
Methods
__construct
setOptions
setClass
getClass
setFunction
getFunction
setMethod
getMethod
setType
getType
toArray

Description

Method callback metadata

Properties

$_class

string $_class = ''

Details

$_class
string
Class name for class method callback
visibility
protected
default
final
false
static
false

$_function

string $_function = ''

Details

$_function
string
Function name for function callback
visibility
protected
default
final
false
static
false

$_method

string $_method = ''

Details

$_method
string
Method name for class method callback
visibility
protected
default
final
false
static
false

$_type

string $_type = ''

Details

$_type
string
Callback type
visibility
protected
default
final
false
static
false

$_types

array $_types = 'array'

Details

$_types
array
Valid callback types
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

getClass

getClass( ) : string|null

Get callback class

Output
string|null
Details
visibility
public
final
false
static
false

getFunction

getFunction( ) : null|string

Get callback function

Output
null|string
Details
visibility
public
final
false
static
false

getMethod

getMethod( ) : null|string

Get callback class method

Output
null|string
Details
visibility
public
final
false
static
false

getType

getType( ) : string

Get callback type

Output
string
Details
visibility
public
final
false
static
false

setClass

setClass( string $class ) : Zend_Server_Method_Callback

Set callback class

Arguments
$class
string
Details
visibility
public
final
false
static
false

setFunction

setFunction( string $function ) : Zend_Server_Method_Callback

Set callback function

Arguments
$function
string
Details
visibility
public
final
false
static
false

setMethod

setMethod( string $method ) : Zend_Server_Method_Callback

Set callback class method

Arguments
$method
string
Details
visibility
public
final
false
static
false

setOptions

setOptions( array $options ) : Zend_Server_Method_Callback

Set object state from array of options

Arguments
$options
array
Details
visibility
public
final
false
static
false

setType

setType( string $type ) : Zend_Server_Method_Callback

Set callback type

Arguments
$type
string
Details
visibility
public
final
false
static
false
throws

toArray

toArray( ) : array

Cast callback to array

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