API Documentation

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 license@zend.com so we can send you a copy immediately.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Amf  
version
$Id: Introspector.php 23953 2011-05-03 05:47:39Z ralph $  

\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
New BSD License  
package
Zend_Amf  
subpackage
Adobe  

Properties

Propertyprotectedarray  $_options= ''

Options used: - server: instance of Zend_Amf_Server to use - directories: directories where class files may be looked up

Introspector options
Details
Type
array
Propertyprotected\DOMElement  $_types= ''

DOM element to store types
Details
Type
\DOMElement
Propertyprotectedarray  $_typesMap= 'array'

Map of the known types
Default valuearrayDetails
Type
array
Propertyprotected\DOMDocument  $_xml= ''

XML document to store data
Details
Type
\DOMDocument

Methods

methodpublic__construct( ) : void

Constructor

methodprotected_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
methodprotected_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
methodprotected_getPropertyType( \Zend_Reflection_Property $prop ) : string

Extract type of the property from DocBlock

Parameters
Name Type Description
$prop \Zend_Reflection_Property reflection property object
Returns
Type Description
string Property type
methodprotected_getServicePath( ) : array

Get the array of service directories

Returns
Type Description
array Service class directories
methodprotected_phpTypeToAS( string $typename ) : string

Map from PHP type name to AS type name

Parameters
Name Type Description
$typename string PHP type name
Returns
Type Description
string AS type name
methodprotected_registerType( string $typename ) : string

Register new type on the system

Parameters
Name Type Description
$typename string type name
Returns
Type Description
string New type name
methodprotected_returnError( string $msg ) : string

Return error with error message

Parameters
Name Type Description
$msg string Error message
Returns
Type Description
string
methodpublicinitAcl( \Zend_Acl $acl ) : \unknown_type

Authentication handler

Parameters
Name Type Description
$acl \Zend_Acl
Returns
Type Description
\unknown_type
methodpublicintrospect( string $serviceClass, array $options = array ) : string

Create XML definition on an AMF service class

Parameters
Name Type Description
$serviceClass string Service class name
$options array invocation options
Returns
Type Description
string XML with service class introspection
Documentation was generated by DocBlox 0.13.3.