Namespaces

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

Classes

  • ArrayHash
  • ArrayList
  • Arrays
  • Callback
  • DateTime
  • FileSystem
  • Finder
  • Html
  • Image
  • Json
  • LimitedScope
  • MimeTypeDetector
  • ObjectMixin
  • Paginator
  • Random
  • Strings
  • TokenIterator
  • Tokenizer
  • Validators

Interfaces

  • IHtmlString

Exceptions

  • AssertionException
  • ImageException
  • JsonException
  • RegexpException
  • TokenizerException
  • UnknownImageFileException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class Callback

PHP callable tools.

Namespace: Nette\Utils
Located at Utils/Callback.php
Methods summary
public static Closure
# closure( mixed $callable, string $m = NULL )

Parameters

$callable
object, callable
$m
method

Returns

Closure
\Closure
public static mixed
# invoke( $callable )

Invokes callback.

Invokes callback.

Returns

mixed
mixed
public static mixed
# invokeArgs( $callable, array $args = array() )

Invokes callback with an array of parameters.

Invokes callback with an array of parameters.

Returns

mixed
mixed
public static mixed
# invokeSafe( string $function, array $args, $onError )

Invokes internal PHP function with own error handler.

Invokes internal PHP function with own error handler.

Parameters

$function
$args
$onError

Returns

mixed
mixed
public static callable
# check( $callable, $syntax = FALSE )

Returns

callable
callable
public static string
# toString( $callable )

Returns

string
string
public static ReflectionMethod|ReflectionFunction
# toReflection( $callable )

Returns

ReflectionMethod|ReflectionFunction
\ReflectionMethod|\ReflectionFunction
public static boolean
# isStatic( $callable )

Returns

boolean
bool
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0