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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Amf
- Version
- $Id$
\Zend_Amf_Adobe_Introspector
Package: Zend_Amf\Adobe
This class implements a service for generating AMF service descriptions as XML.
- Copyright
- Copyright (c) 2005-2014 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
Details
- Type
- array
Methods
_addClassAttributes(string $typename, \DOMElement $typexml) : void
Generate map of public class attributes
Parameters
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
Parameters
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
Parameters
Returns
Name | Type | Description |
---|---|---|
$prop | \Zend_Reflection_Property | reflection property object |
Type | Description |
---|---|
string | Property type |
_getServicePath() : array
Get the array of service directories
Returns
Type | Description |
---|---|
array | Service class directories |
_phpTypeToAS(string $typename) : string
Map from PHP type name to AS type name
Parameters
Returns
Name | Type | Description |
---|---|---|
$typename | string | PHP type name |
Type | Description |
---|---|
string | AS type name |
_registerType(string $typename) : string
Register new type on the system
Parameters
Returns
Name | Type | Description |
---|---|---|
$typename | string | type name |
Type | Description |
---|---|
string | New type name |
_returnError(string $msg) : string
Return error with error message
Parameters
Returns
Name | Type | Description |
---|---|---|
$msg | string | Error message |
Type | Description |
---|---|
string |
initAcl(\Zend_Acl $acl) : \unknown_type
Authentication handler
Parameters
Returns
Name | Type | Description |
---|---|---|
$acl | \Zend_Acl |
Type | Description |
---|---|
\unknown_type |