Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Annotation
  • AnnotationsParser
  • ClassType
  • Extension
  • GlobalFunction
  • Method
  • Parameter
  • Property

Interfaces

  • IAnnotation
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class GlobalFunction

Reports information about a function.

ReflectionFunctionAbstract implements Reflector
Extended by ReflectionFunction
Extended by Nette\Reflection\GlobalFunction
Namespace: Nette\Reflection
Author: David Grudl
Located at Reflection/GlobalFunction.php
Methods summary
public
# __construct( $name )

Overrides

ReflectionFunction::__construct()
public
# toCallback( )

Deprecated

public
# __toString( )

Overrides

ReflectionFunction::__toString()
public
# getClosure( )
public Nette\Reflection\Extension
# getExtension( )

Returns

Nette\Reflection\Extension

Overrides

ReflectionFunctionAbstract::getExtension()
public Nette\Reflection\Parameter[]
# getParameters( )

Returns

Nette\Reflection\Parameter[]

Overrides

ReflectionFunctionAbstract::getParameters()
public boolean
# hasAnnotation( string $name )

Has method specified annotation?

Has method specified annotation?

Parameters

$name
string

Returns

boolean
public Nette\Reflection\IAnnotation
# getAnnotation( string $name )

Returns an annotation value.

Returns an annotation value.

Parameters

$name
string

Returns

Nette\Reflection\IAnnotation
public IAnnotation[][]
# getAnnotations( )

Returns all annotations.

Returns all annotations.

Returns

IAnnotation[][]
public string
# getDescription( )

Returns value of annotation 'description'.

Returns value of annotation 'description'.

Returns

string
public
# __call( $name, $args )
public &
# __get( $name )
public
# __set( $name, $value )
public
# __isset( $name )
public
# __unset( $name )
Methods inherited from ReflectionFunction
export(), invoke(), invokeArgs(), isDisabled()
Methods inherited from ReflectionFunctionAbstract
getDocComment(), getEndLine(), getExtensionName(), getFileName(), getName(), getNamespaceName(), getNumberOfParameters(), getNumberOfRequiredParameters(), getShortName(), getStartLine(), getStaticVariables(), inNamespace(), isClosure(), isDeprecated(), isInternal(), isUserDefined(), returnsReference()
Constants inherited from ReflectionFunction
IS_DEPRECATED
Properties inherited from ReflectionFunction
$name
Magic properties summary
public read-only array $defaultParameters
#
public read-only boolean $closure
#
public read-only Nette\Reflection\Extension $extension
#
public read-only boolean $disabled
#
public read-only boolean $deprecated
#
public read-only boolean $internal
#
public read-only boolean $userDefined
#
public read-only string $docComment
#
public read-only integer $endLine
#
public read-only string $extensionName
#
public read-only string $fileName
#
public read-only string $name
#
public read-only string $namespaceName
#
public read-only integer $numberOfParameters
#
public read-only integer $numberOfRequiredParameters
#
public read-only string $shortName
#
public read-only integer $startLine
#
public read-only array $staticVariables
#
Nette 2.2 API documentation generated by ApiGen 2.8.0