Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
This class implements a service for generating AMF service descriptions as XML.
array $_options = ''
Options used: - server: instance of Zend_Amf_Server to use - directories: directories where class files may be looked up
DOMElement $_types = ''
array $_typesMap = 'array'
DOMDocument $_xml = ''
__construct(
)
:
void
Constructor
_addClassAttributes(
string $typename, DOMElement $typexml
)
:
void
Generate map of public class attributes
_addService(
Zend_Server_Reflection_Class $refclass, DOMElement $target
)
:
void
Build XML service description from reflection class
_getPropertyType(
Zend_Reflection_Property $prop
)
:
string
Extract type of the property from DocBlock
_getServicePath(
)
:
array
Get the array of service directories
_phpTypeToAS(
string $typename
)
:
string
Map from PHP type name to AS type name
_registerType(
string $typename
)
:
string
Register new type on the system
_returnError(
string $msg
)
:
string
Return error with error message
initAcl(
Zend_Acl $acl
)
:
unknown_type
Authentication handler
introspect(
string $serviceClass, array $options
=
array
)
:
string
Create XML definition on an AMF service class