Docs For Class Zend_Rest_Server

## Class Zend_Rest_Server

Description

Implements interfaces:

- Zend_Server_Interface

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Rest/Server.php (line 49)

    Zend_Server_Abstract
       |
       --Zend_Rest_Server

Method Summary
Zend_Rest_Server __construct ()
void addFunction (string $function, [string $namespace = ''])
void fault ([ $exception = null], [int $code = null], string|Exception $fault)
array getFunctions ()
void handle ([array $request = false])
void loadFunctions (array $functions)
void setClass (string $classname, [string $namespace = ''], [array $argv = array()])
void setPersistence (int $mode)
Variables

#### Inherited Variables

Inherited from Zend_Server_Abstract

> Zend_Server_Abstract::$magic_methods

Methods
Constructor __construct (line 73)

Constructor

- access: public

Zend_Rest_Server __construct ()
addFunction (line 356)

Implement Zend_Server_Interface::addFunction()

- access: public

void addFunction (string $function, [string $namespace = ''])

- string $function: Function Name
- string $namespace: Function namespace (unused)

fault (line 287)

Implement Zend_Server_Interface::fault()

- access: public

void fault ([ $exception = null], [int $code = null], string|Exception $fault)

- string|Exception $fault: Message
- int $code: Error Code
- $exception

getFunctions (line 376)

Implement Zend_Server_Interface::getFunctions()

- return: An array of Zend_Server_Reflection_Method's
- access: public

array getFunctions ()
handle (line 84)

Implement Zend_Server_Interface::handle()

- access: public

void handle ([array $request = false])

- array $request

loadFunctions (line 387)

Implement Zend_Server_Interface::loadFunctions()

- access: public
- todo: Implement

void loadFunctions (array $functions)

- array $functions

setClass (line 178)

Implement Zend_Server_Interface::setClass()

- access: public

void setClass (string $classname, [string $namespace = ''], [array $argv = array()])

- string $classname: Class name
- string $namespace: Class namespace (unused)
- array $argv: An array of Constructor Arguments

setPersistence (line 397)

Implement Zend_Server_Interface::setPersistence()

- access: public
- todo: Implement

void setPersistence (int $mode)

- int $mode

#### Inherited Methods

Inherited From Zend_Server_Abstract

> Zend_Server_Abstract::lowerCase()

Documentation generated on Sun, 29 Oct 2006 21:28:02 -0600 by phpDocumentor 1.3.0RC6