\Zend_Amf_Adobe_Introspector
This class implements a service for generating AMF service descriptions as XML.
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Amf_Adobe_Introspector
{
- // members
- protected $_options;
- protected DOMElement $_types;
- protected array $_typesMap = ;
- protected DOMDocument $_xml;
- // methods
- public void __construct()
- public string introspect()
- public unknown_type initAcl()
- protected void _addClassAttributes()
- protected void _addService()
- protected string _getPropertyType()
- protected array _getServicePath()
- protected string _phpTypeToAS()
- protected string _registerType()
- protected string _returnError()
Members
protected
- $_options
—
array
Options used: - server: instance of Zend_Amf_Server to use - directories: directories where class files may be looked up - $_types — DOMElement
- $_typesMap — array
- $_xml — DOMDocument
Methods
protected
- _addClassAttributes() — Generate map of public class attributes
- _addService() — Build XML service description from reflection class
- _getPropertyType() — Extract type of the property from DocBlock
- _getServicePath() — Get the array of service directories
- _phpTypeToAS() — Map from PHP type name to AS type name
- _registerType() — Register new type on the system
- _returnError() — Return error with error message
public
- __construct() — Constructor
- initAcl() — Authentication handler
- introspect() — Create XML definition on an AMF service class