Moodle  2.2.1
http://www.collinsharper.com
Zend_Server_Reflection Class Reference

Static Public Member Functions

static reflectClass ($class, $argv=false, $namespace= '')
static reflectFunction ($function, $argv=false, $namespace= '')

Detailed Description

Definition at line 41 of file Reflection.php.


Member Function Documentation

static reflectClass ( class,
argv = false,
namespace = '' 
) [static]

Perform class reflection to create dispatch signatures

Creates a Zend_Server_Reflection_Class object for the class or object provided.

If extra arguments should be passed to dispatchable methods, these may be provided as an array to $argv.

Parameters:
string | object$classClass name or object
null | array$argvOptional arguments to be used during the method call
string$namespaceOptional namespace with which to prefix the method name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing
Returns:
Zend_Server_Reflection_Class
Exceptions:
Zend_Server_Reflection_Exception

Definition at line 60 of file Reflection.php.

Here is the caller graph for this function:

static reflectFunction ( function,
argv = false,
namespace = '' 
) [static]

Perform function reflection to create dispatch signatures

Creates dispatch prototypes for a function. It returns a Zend_Server_Reflection_Function object.

If extra arguments should be passed to the dispatchable function, these may be provided as an array to $argv.

Parameters:
string$functionFunction name
null | array$argvOptional arguments to be used during the method call
string$namespaceOptional namespace with which to prefix the function name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing
Returns:
Zend_Server_Reflection_Function
Exceptions:
Zend_Server_Reflection_Exception

Definition at line 96 of file Reflection.php.

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations