Zend Framework
1.12
|
Static Public Member Functions | |
static | reflectClass ($class, $argv=false, $namespace= '') |
Perform class reflection to create dispatch signatures. | |
static | reflectFunction ($function, $argv=false, $namespace= '') |
Perform function reflection to create dispatch signatures. | |
|
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.
string | object | $class | Class name or object |
null | array | $argv | Optional arguments to be used during the method call |
string | $namespace | Optional namespace with which to prefix the method name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing |
Zend_Server_Reflection_Exception |
|
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.
string | $function | Function name |
null | array | $argv | Optional arguments to be used during the method call |
string | $namespace | Optional namespace with which to prefix the function name (used for the signature key). Primarily to avoid collisions, also for XmlRpc namespacing |
Zend_Server_Reflection_Exception |