Docs For Class Zend_Server_Reflection_Class

## Class Zend_Server_Reflection_Class

Description

Class/Object reflection

Proxies calls to a ReflectionClass object, and decorates getMethods() by creating its own list of Zend_Server_Reflection_Methods.

- version: $Id: Class.php 1246 2006-10-11 18:42:06Z matthew $
- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Server/Reflection/Class.php (line 44)

Variable Summary
array $_config
array $_methods
string $_namespace
ReflectionClass $_reflection
Method Summary
void __construct ( $reflection, [string $namespace = null], [mixed $argv = false])
array getMethods ()
string getNamespace ()
void setNamespace (string $namespace)
mixed __call (string $method, array $args)
mixed __get (string $key)
void __set (string $key, mixed $value)
void __wakeup ()
Variables
array $_config = array() (line 51)

Optional configuration parameters; accessible via __get and

__set()

- access: protected

array $_methods = array() (line 57)

Array of Zend_Server_Reflection_Methods

- access: protected

string $_namespace = null (line 63)

Namespace

- access: protected

ReflectionClass $_reflection (line 69)

ReflectionClass object

- access: protected

Methods
Constructor __construct (line 82)

Constructor

Create array of dispatchable methods, each a Zend_Server_Reflection_Method. Sets reflection object property.

- access: public

void __construct ( $reflection, [string $namespace = null], [mixed $argv = false])

- ReflectionClass $reflection
- string $namespace
- mixed $argv

getMethods (line 154)

Return array of dispatchable Zend_Server_Reflection_Methods.

- access: public

array getMethods ()
getNamespace (line 164)

Get namespace for this class

- access: public

string getNamespace ()
setNamespace (line 175)

Set namespace for this class

- access: public

void setNamespace (string $namespace)

- string $namespace

__call (line 107)

Proxy reflection calls

- access: public

mixed __call (string $method, array $args)

- string $method
- array $args

__get (line 125)

Retrieve configuration parameters

Values are retrieved by key from $_config. Returns null if no value found.

- access: public

mixed __get (string $key)

- string $key

__set (line 143)

Set configuration parameters

Values are stored by $key in $_config.

- access: public

void __set (string $key, mixed $value)

- string $key
- mixed $value

__wakeup (line 197)

Wakeup from serialization

Reflection needs explicit instantiation to work correctly. Re-instantiate reflection object on wakeup.

- access: public

void __wakeup ()

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