Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
      • Config\Extensions
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
      • DI\Diagnostics
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Security\Diagnostics
    • Templating
    • Utils
      • 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
  • 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( mixed $t, string $m = NULL )

Do not call directly, use callback() function.

Do not call directly, use callback() function.

Parameters

$t
mixed
class, object, function, callback
$m
string
method
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.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0