[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/zend/Zend/Server/Reflection/Function/ -> Abstract.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
File Size: 503 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

  __construct()
  _addTree()
  _buildTree()
  _buildSignatures()
  _reflect()
  __call()
  __get()
  __set()
  setNamespace()
  getNamespace()
  setDescription()
  getDescription()
  getPrototypes()
  getInvokeArguments()
  __wakeup()

Functions
Functions that are not part of a class:

__construct(Reflector $r, $namespace = null, $argv = array()   X-Ref
Constructor

param: ReflectionFunction $r

_addTree(Zend_Server_Reflection_Node $parent, $level = 0)   X-Ref
Create signature node tree

Recursive method to build the signature node tree. Increments through
each array in {@link $_sigParams}, adding every value of the next level
to the current value (unless the current value is null).

param: Zend_Server_Reflection_Node $parent
param: int $level
return: void

_buildTree()   X-Ref
Build the signature tree

Builds a signature tree starting at the return values and descending
through each method argument. Returns an array of
{@link Zend_Server_Reflection_Node}s.

return: array

_buildSignatures($return, $returnDesc, $paramTypes, $paramDesc)   X-Ref
Build method signatures

Builds method signatures using the array of return types and the array of
parameters types

param: array $return Array of return types
param: string $returnDesc Return value description
param: array $params Array of arguments (each an array of types)
param: array $paramDesc Array of parameter descriptions
return: array

_reflect()   X-Ref
Use code reflection to create method signatures

Determines the method help/description text from the function DocBlock
comment. Determines method signatures using a combination of
ReflectionFunction and parsing of DocBlock @param and @return values.

param: ReflectionFunction $function
return: array

__call($method, $args)   X-Ref
Proxy reflection calls

param: string $method
param: array $args
return: mixed

__get($key)   X-Ref
Retrieve configuration parameters

Values are retrieved by key from {@link $_config}. Returns null if no
value found.

param: string $key
return: mixed

__set($key, $value)   X-Ref
Set configuration parameters

Values are stored by $key in {@link $_config}.

param: string $key
param: mixed $value
return: void

setNamespace($namespace)   X-Ref
Set method's namespace

param: string $namespace
return: void

getNamespace()   X-Ref
Return method's namespace

return: string

setDescription($string)   X-Ref
Set the description

param: string $string
return: void

getDescription()   X-Ref
Retrieve the description

return: void

getPrototypes()   X-Ref
Retrieve all prototypes as array of
{@link Zend_Server_Reflection_Prototype Zend_Server_Reflection_Prototypes}

return: array

getInvokeArguments()   X-Ref
Retrieve additional invocation arguments

return: array

__wakeup()   X-Ref
Wakeup from serialization

Reflection needs explicit instantiation to work correctly. Re-instantiate
reflection object on wakeup.

return: void



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