Namespaces

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

Classes

  • ArrayHash
  • ArrayList
  • Callback
  • Configurator
  • DateTime
  • Environment
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidArgumentException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • OutOfRangeException
  • StaticClassException
  • UnexpectedValueException
  • UnknownImageFileException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class ObjectMixin

Nette\Object behaviour mixin.

Namespace: Nette
Author: David Grudl
Located at common/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
object
$name
string
$args
array

Returns

mixed

Throws

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

__callStatic() implementation.

__callStatic() implementation.

Parameters

$class
string
$method
string
$args
array

Throws

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

__get() implementation.

__get() implementation.

Parameters

$_this
object
$name
string
property 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
object
$name
string
property name
$value
mixed
property 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
object
$name
string
property name

Throws

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

__isset() implementation.

__isset() implementation.

Parameters

$_this
object
$name
string
property name

Returns

boolean
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
public static
# setExtensionMethod( string $class, string $name, mixed $callback )

Adds a method to class.

Adds a method to class.

Parameters

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

Returns extension method.

Returns extension method.

Parameters

$class
string
$name
string

Returns

mixed
Nette 2.1 API documentation generated by ApiGen 2.8.0