|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct () | |
| introspect ($serviceClass, $options=array()) | |
| initAcl (Zend_Acl $acl) | |
Protected Member Functions | |
| _addClassAttributes ($typename, DOMElement $typexml) | |
| _addService (Zend_Server_Reflection_Class $refclass, DOMElement $target) | |
| _getPropertyType (Zend_Reflection_Property $prop) | |
| _getServicePath () | |
| _phpTypeToAS ($typename) | |
| _registerType ($typename) | |
| _returnError ($msg) | |
Protected Attributes | |
| $_options | |
| $_types | |
| $_typesMap = array() | |
| $_xml | |
Definition at line 39 of file Introspector.php.
| __construct | ( | ) |
| _addClassAttributes | ( | $ | typename, |
| DOMElement $ | typexml | ||
| ) | [protected] |
Generate map of public class attributes
| string | $typename | type name |
| DOMElement | $typexml | target XML element |
Definition at line 133 of file Introspector.php.


| _addService | ( | Zend_Server_Reflection_Class $ | refclass, |
| DOMElement $ | target | ||
| ) | [protected] |
Build XML service description from reflection class
| Zend_Server_Reflection_Class | $refclass | |
| DOMElement | $target | target XML element |
Definition at line 164 of file Introspector.php.


| _getPropertyType | ( | Zend_Reflection_Property $ | prop | ) | [protected] |
Extract type of the property from DocBlock
| Zend_Reflection_Property | $prop | reflection property object |
Definition at line 211 of file Introspector.php.

| _getServicePath | ( | ) | [protected] |
Get the array of service directories
Definition at line 232 of file Introspector.php.

| _phpTypeToAS | ( | $ | typename | ) | [protected] |
Map from PHP type name to AS type name
| string | $typename | PHP type name |
Definition at line 251 of file Introspector.php.


| _registerType | ( | $ | typename | ) | [protected] |
Register new type on the system
| string | $typename | type name |
Definition at line 274 of file Introspector.php.


| _returnError | ( | $ | msg | ) | [protected] |
Return error with error message
| string | $msg | Error message |
Definition at line 309 of file Introspector.php.

| initAcl | ( | Zend_Acl $ | acl | ) |
Authentication handler
| Zend_Acl | $acl |
Definition at line 121 of file Introspector.php.
| introspect | ( | $ | serviceClass, |
| $ | options = array() |
||
| ) |
Create XML definition on an AMF service class
| string | $serviceClass | Service class name |
| array | $options | invocation options |
Definition at line 82 of file Introspector.php.

$_options [protected] |
Definition at line 48 of file Introspector.php.
$_types [protected] |
Definition at line 53 of file Introspector.php.
$_typesMap = array() [protected] |
Definition at line 58 of file Introspector.php.
$_xml [protected] |
Definition at line 63 of file Introspector.php.