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

Public Member Functions

 __construct ()
 Constructor.
 
 introspect ($serviceClass, $options=array())
 Create XML definition on an AMF service class.
 
 initAcl (Zend_Acl $acl)
 Authentication handler.
 

Protected Member Functions

 _addClassAttributes ($typename, DOMElement $typexml)
 Generate map of public class attributes.
 
 _addService (Zend_Server_Reflection_Class $refclass, DOMElement $target)
 Build XML service description from reflection class.
 
 _getPropertyType (Zend_Reflection_Property $prop)
 Extract type of the property from DocBlock.
 
 _getServicePath ()
 Get the array of service directories.
 
 _phpTypeToAS ($typename)
 Map from PHP type name to AS type name.
 
 _registerType ($typename)
 Register new type on the system.
 
 _returnError ($msg)
 Return error with error message.
 

Protected Attributes

 $_options
 
 $_types
 
 $_typesMap = array()
 
 $_xml
 

Constructor & Destructor Documentation

__construct ( )

Constructor.

Returns
void

Member Function Documentation

_addClassAttributes (   $typename,
DOMElement  $typexml 
)
protected

Generate map of public class attributes.

Parameters
string$typenametype name
DOMElement$typexmltarget XML element
Returns
void
_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
_getPropertyType ( Zend_Reflection_Property  $prop)
protected

Extract type of the property from DocBlock.

Parameters
Zend_Reflection_Property$propreflection property object
Returns
string Property type
_getServicePath ( )
protected

Get the array of service directories.

Returns
array Service class directories
_phpTypeToAS (   $typename)
protected

Map from PHP type name to AS type name.

Parameters
string$typenamePHP type name
Returns
string AS type name
_registerType (   $typename)
protected

Register new type on the system.

Parameters
string$typenametype name
Returns
string New type name
_returnError (   $msg)
protected

Return error with error message.

Parameters
string$msgError message
Returns
string
initAcl ( Zend_Acl  $acl)

Authentication handler.

Parameters
Zend_Acl$acl
Returns
unknown_type
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

Member Data Documentation

$_options
protected
$_types
protected
$_typesMap = array()
protected
$_xml
protected