Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • ArrayHash
  • ArrayList
  • Callback
  • DateTime53
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • StaticClassException
  • UnknownImageFileException
  • Overview
  • Package
  • Class
  • Tree

Class Callback

PHP callback encapsulation.

Object
Extended by Callback
Final
Package: Nette
Author: David Grudl
Located at common/Callback.php
Methods summary
public
# __construct( callable $cb, $m = NULL )

Do not call directly, use callback() function.

Do not call directly, use callback() function.

Parameters

$cb
callable
$m
public mixed
# __invoke( )

Invokes callback. Do not call directly.

Invokes callback. Do not call directly.

Returns

mixed
public mixed
# invoke( )

Invokes callback.

Invokes callback.

Returns

mixed
public mixed
# invokeArgs( array $args )

Invokes callback with an array of parameters.

Invokes callback with an array of parameters.

Parameters

$args
array

Returns

mixed
public boolean
# isCallable( )

Verifies that callback can be called.

Verifies that callback can be called.

Returns

boolean
public string|array|Closure
# getNative( )

Returns PHP callback pseudotype.

Returns PHP callback pseudotype.

Returns

string|array|Closure
public FunctionReflection|MethodReflection
# toReflection( )

Returns callback reflection.

Returns callback reflection.

Returns

FunctionReflection|MethodReflection
public boolean
# isStatic( )

Returns

boolean
public string
# __toString( )

Returns

string
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette Framework 2.0.3 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0