[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Amf/Adobe/ -> Introspector.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
Version: $Id$
File Size: 313 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Zend_Amf_Adobe_Introspector:: (10 methods):
  __construct()
  introspect()
  initAcl()
  _addClassAttributes()
  _addService()
  _getPropertyType()
  _getServicePath()
  _phpTypeToAS()
  _registerType()
  _returnError()


Class: Zend_Amf_Adobe_Introspector  - X-Ref

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

__construct()   X-Ref
Constructor

return: void

introspect($serviceClass, $options = array()   X-Ref
Create XML definition on an AMF service class

param: string $serviceClass Service class name
param: array $options invocation options
return: string XML with service class introspection

initAcl(Zend_Acl $acl)   X-Ref
Authentication handler

param: Zend_Acl $acl
return: unknown_type

_addClassAttributes($typename, DOMElement $typexml)   X-Ref
Generate map of public class attributes

param: string $typename type name
param: DOMElement $typexml target XML element
return: void

_addService(Zend_Server_Reflection_Class $refclass, DOMElement $target)   X-Ref
Build XML service description from reflection class

param: Zend_Server_Reflection_Class $refclass
param: DOMElement $target target XML element
return: void

_getPropertyType(Zend_Reflection_Property $prop)   X-Ref
Extract type of the property from DocBlock

param: Zend_Reflection_Property $prop reflection property object
return: string Property type

_getServicePath()   X-Ref
Get the array of service directories

return: array Service class directories

_phpTypeToAS($typename)   X-Ref
Map from PHP type name to AS type name

param: string $typename PHP type name
return: string AS type name

_registerType($typename)   X-Ref
Register new type on the system

param: string $typename type name
return: string New type name

_returnError($msg)   X-Ref
Return error with error message

param: string $msg Error message
return: string



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1