API Documentation

Zend/Amf/Adobe/Introspector.php

Show: inherited
Table of Contents

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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Amf  
Version
$Id: Introspector.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Amf_Adobe_Introspector

Package: Zend\Amf\Adobe

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

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 valuearray()Details
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.15.1.