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

Public Member Functions

 __construct (ReflectionClass $reflection, $namespace=null, $argv=false)
 Constructor.
 
 __call ($method, $args)
 Proxy reflection calls.
 
 __get ($key)
 Retrieve configuration parameters.
 
 __set ($key, $value)
 Set configuration parameters.
 
 getMethods ()
 Return array of dispatchable Zend_Server_Reflection_Methods.
 
 getNamespace ()
 Get namespace for this class.
 
 setNamespace ($namespace)
 Set namespace for this class.
 
 __wakeup ()
 Wakeup from serialization.
 

Protected Attributes

 $_config = array()
 
 $_methods = array()
 
 $_namespace = null
 
 $_reflection
 

Constructor & Destructor Documentation

__construct ( ReflectionClass  $reflection,
  $namespace = null,
  $argv = false 
)

Constructor.

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

Parameters
ReflectionClass$reflection
string$namespace
mixed$argv
Returns
void

Member Function Documentation

__call (   $method,
  $args 
)

Proxy reflection calls.

Parameters
string$method
array$args
Returns
mixed
__get (   $key)

Retrieve configuration parameters.

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

Parameters
string$key
Returns
mixed
__set (   $key,
  $value 
)

Set configuration parameters.

Values are stored by $key in $_config.

Parameters
string$key
mixed$value
Returns
void
__wakeup ( )

Wakeup from serialization.

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

Returns
void
getMethods ( )

Return array of dispatchable Zend_Server_Reflection_Methods.

public

Returns
array
getNamespace ( )

Get namespace for this class.

Returns
string
setNamespace (   $namespace)

Set namespace for this class.

Parameters
string$namespace
Returns
void

Member Data Documentation

$_config = array()
protected
$_methods = array()
protected
$_namespace = null
protected
$_reflection
protected