Amf/Adobe/Introspector.php
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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Amf
- Version
- $Id: Introspector.php 25024 2012-07-30 15:08:15Z rob $
\Zend_Amf_Adobe_Introspector
This class implements a service for generating AMF service descriptions as XML.
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


array $_options =
Options used: - server: instance of Zend_Amf_Server to use - directories: directories where class files may be looked up
<p>Introspector options</p>- Type
- array
Methods


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


initAcl(\Zend_Acl $acl) : \unknown_type
Authentication handler
Name | Type | Description |
---|---|---|
$acl | \Zend_Acl |
Type | Description |
---|---|
\unknown_type |