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
Introspector options
_addClassAttributes(
string $typename, \DOMElement $typexml
)
:
void
Generate map of public class attributes
Name | Type | Description |
---|---|---|
$typename | string | type name |
$typexml | \DOMElement | target XML element |

_addService(
\Zend_Server_Reflection_Class $refclass, \DOMElement $target
)
:
void
Build XML service description from reflection class
Name | Type | Description |
---|---|---|
$refclass | \Zend_Server_Reflection_Class | |
$target | \DOMElement | target XML element |

_getPropertyType(
\Zend_Reflection_Property $prop
)
:
string
Extract type of the property from DocBlock
Name | Type | Description |
---|---|---|
$prop | \Zend_Reflection_Property | reflection property object |
Type | Description |
---|---|
string | Property type |

_getServicePath(
)
:
array
Get the array of service directories
Type | Description |
---|---|
array | Service class directories |

_phpTypeToAS(
string $typename
)
:
string
Map from PHP type name to AS type name
Name | Type | Description |
---|---|---|
$typename | string | PHP type name |
Type | Description |
---|---|
string | AS type name |

_registerType(
string $typename
)
:
string
Register new type on the system
Name | Type | Description |
---|---|---|
$typename | string | type name |
Type | Description |
---|---|
string | New type name |

_returnError(
string $msg
)
:
string
Return error with error message
Name | Type | Description |
---|---|---|
$msg | string | Error message |
Type | Description |
---|---|
string |