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

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

Detailed Description

Definition at line 39 of file Introspector.php.


Constructor & Destructor Documentation

Constructor

Returns:
void

Definition at line 70 of file Introspector.php.


Member Function Documentation

_addClassAttributes ( typename,
DOMElement $  typexml 
) [protected]

Generate map of public class attributes

Parameters:
string$typenametype name
DOMElement$typexmltarget XML element
Returns:
void

Definition at line 133 of file Introspector.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_addService ( Zend_Server_Reflection_Class refclass,
DOMElement $  target 
) [protected]

Build XML service description from reflection class

Parameters:
Zend_Server_Reflection_Class$refclass
DOMElement$targettarget XML element
Returns:
void

Definition at line 164 of file Introspector.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_getPropertyType ( Zend_Reflection_Property $  prop) [protected]

Extract type of the property from DocBlock

Parameters:
Zend_Reflection_Property$propreflection property object
Returns:
string Property type

Definition at line 211 of file Introspector.php.

Here is the caller graph for this function:

_getServicePath ( ) [protected]

Get the array of service directories

Returns:
array Service class directories

Definition at line 232 of file Introspector.php.

Here is the caller graph for this function:

_phpTypeToAS ( typename) [protected]

Map from PHP type name to AS type name

Parameters:
string$typenamePHP type name
Returns:
string AS type name

Definition at line 251 of file Introspector.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_registerType ( typename) [protected]

Register new type on the system

Parameters:
string$typenametype name
Returns:
string New type name

Definition at line 274 of file Introspector.php.

Here is the call graph for this function:

Here is the caller graph for this function:

_returnError ( msg) [protected]

Return error with error message

Parameters:
string$msgError message
Returns:
string

Definition at line 309 of file Introspector.php.

Here is the caller graph for this function:

initAcl ( Zend_Acl $  acl)

Authentication handler

Parameters:
Zend_Acl$acl
Returns:
unknown_type

Definition at line 121 of file Introspector.php.

introspect ( serviceClass,
options = array() 
)

Create XML definition on an AMF service class

Parameters:
string$serviceClassService class name
array$optionsinvocation options
Returns:
string XML with service class introspection

Definition at line 82 of file Introspector.php.

Here is the call graph for this function:


Field Documentation

$_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.


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