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 ObjectMixin

Object behaviour mixin.

Final
Package: 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 to undefined method.

Call to undefined method.

Parameters

$_this
object
$name
string
method name
$args
array
arguments

Returns

mixed

Throws

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

Call to undefined method.

Call to undefined method.

Parameters

$_this
object
$name
string
method name
$args
array
arguments

Returns

mixed

Throws

MemberAccessException
public static mixed
# callStatic( string $class, string $name, array $args )

Call to undefined static method.

Call to undefined static method.

Parameters

$class
string
$name
string
method name
$args
array
arguments

Returns

mixed

Throws

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

Returns property value.

Returns property value.

Parameters

$_this
object
$name
string
property name

Returns

mixed
property value

Throws

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

Sets value of a property.

Sets value of a property.

Parameters

$_this
object
$name
string
property name
$value
mixed
property value

Throws

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

Throws exception.

Throws exception.

Parameters

$_this
object
$name
string
property name

Throws

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

Is property defined?

Is property defined?

Parameters

$_this
object
$name
string
property name

Returns

boolean
Nette Framework 2.0.1 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0