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 ObjectMixin

Nette\Object behaviour mixin.

Namespace: Nette\Utils
Located at Utils/ObjectMixin.php
Methods summary
final public
# __construct( )

Static class - cannot be instantiated.

Static class - cannot be instantiated.

public static mixed
# call( object $_this, string $name, array $args )

__call() implementation.

__call() implementation.

Parameters

$_this
$name
$args

Returns

mixed
mixed

Throws

Nette\MemberAccessException
MemberAccessException
public static
# callStatic( string $class, string $method, array $args )

__callStatic() implementation.

__callStatic() implementation.

Parameters

$class
$method
$args

Throws

Nette\MemberAccessException
MemberAccessException
public static mixed &
# get( object $_this, string $name )

__get() implementation.

__get() implementation.

Parameters

$_this
$name
name

Returns

mixed
property value

Throws

Nette\MemberAccessException
if the property is not defined.
public static
# set( object $_this, string $name, mixed $value )

__set() implementation.

__set() implementation.

Parameters

$_this
$name
name
$value
value

Throws

Nette\MemberAccessException
if the property is not defined or is read-only
public static
# remove( object $_this, string $name )

__unset() implementation.

__unset() implementation.

Parameters

$_this
$name
name

Throws

Nette\MemberAccessException
MemberAccessException
public static boolean
# has( object $_this, string $name )

__isset() implementation.

__isset() implementation.

Parameters

$_this
$name
name

Returns

boolean
bool
public static array
# getMagicMethods( $class )

Returns array of magic methods defined by annotation @method.

Returns array of magic methods defined by annotation @method.

Returns

array
array
public static
# setExtensionMethod( string $class, string $name, mixed $callback )

Adds a method to class.

Adds a method to class.

Parameters

$class
$name
$callback
callable
public static mixed
# getExtensionMethod( string $class, string $name )

Returns extension method.

Returns extension method.

Parameters

$class
$name

Returns

mixed
mixed
public static array
# getExtensionMethods( string $class )

Returns extension methods.

Returns extension methods.

Parameters

$class

Returns

array
array
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0