API Documentation

Amf/Adobe/Introspector.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
version
$Id: Introspector.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Amf_Adobe_Introspector

Description

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.

Zend_Amf_Adobe_Introspector

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Amf
subpackage
Adobe
Properties
$_options
$_types
$_typesMap
$_xml
Methods
__construct
introspect
initAcl
_addClassAttributes
_addService
_getPropertyType
_getServicePath
_phpTypeToAS
_registerType
_returnError

Description

This class implements a service for generating AMF service descriptions as XML.

Properties

$_options

array $_options = ''

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

Details

$_options
array
Introspector options
visibility
protected
default
final
false
static
false

$_types

DOMElement $_types = ''

Details

$_types
DOMElement
DOM element to store types
visibility
protected
default
final
false
static
false

$_typesMap

array $_typesMap = 'array'

Details

$_typesMap
array
Map of the known types
visibility
protected
default
array
final
false
static
false

$_xml

DOMDocument $_xml = ''

Details

$_xml
DOMDocument
XML document to store data
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( ) : void

Constructor

Details
visibility
public
final
false
static
false

_addClassAttributes

_addClassAttributes( string $typename, DOMElement $typexml ) : void

Generate map of public class attributes

Arguments
$typename
string
type name
$typexml
DOMElement
target XML element
Details
visibility
protected
final
false
static
false

_addService

_addService( Zend_Server_Reflection_Class $refclass, DOMElement $target ) : void

Build XML service description from reflection class

Arguments
$refclass
Zend_Server_Reflection_Class
$target
DOMElement
target XML element
Details
visibility
protected
final
false
static
false

_getPropertyType

_getPropertyType( Zend_Reflection_Property $prop ) : string

Extract type of the property from DocBlock

Arguments
$prop
Zend_Reflection_Property
reflection property object
Output
string
Property type
Details
visibility
protected
final
false
static
false

_getServicePath

_getServicePath( ) : array

Get the array of service directories

Output
array
Service class directories
Details
visibility
protected
final
false
static
false

_phpTypeToAS

_phpTypeToAS( string $typename ) : string

Map from PHP type name to AS type name

Arguments
$typename
string
PHP type name
Output
string
AS type name
Details
visibility
protected
final
false
static
false

_registerType

_registerType( string $typename ) : string

Register new type on the system

Arguments
$typename
string
type name
Output
string
New type name
Details
visibility
protected
final
false
static
false

_returnError

_returnError( string $msg ) : string

Return error with error message

Arguments
$msg
string
Error message
Output
string
Details
visibility
protected
final
false
static
false

initAcl

initAcl( Zend_Acl $acl ) : unknown_type

Authentication handler

Arguments
$acl
Zend_Acl
Output
unknown_type
Details
visibility
public
final
false
static
false

introspect

introspect( string $serviceClass, array $options = array ) : string

Create XML definition on an AMF service class

Arguments
$serviceClass
string
Service class name
$options
array
invocation options
Output
string
XML with service class introspection
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.