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
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • ArrayHash
  • ArrayList
  • Arrays
  • Callback
  • DateTime
  • FileSystem
  • Finder
  • Html
  • Image
  • Json
  • ObjectHelpers
  • ObjectMixin
  • Paginator
  • Random
  • Reflection
  • SafeStream
  • Strings
  • TokenIterator
  • Tokenizer
  • Validators

Interfaces

  • IHtmlString

Exceptions

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

Class ObjectHelpers

Nette\SmartObject helpers.

Nette\Utils\ObjectHelpers uses Nette\StaticClass
Final
Namespace: Nette\Utils
Located at Utils/ObjectHelpers.php
Methods summary
public static
# strictGet( $class, $name )

Throws

Nette\MemberAccessException
MemberAccessException
public static
# strictSet( $class, $name )

Throws

Nette\MemberAccessException
MemberAccessException
public static
# strictCall( $class, $method, $additionalMethods = [] )

Throws

Nette\MemberAccessException
MemberAccessException
public static
# strictStaticCall( $class, $method )

Throws

Nette\MemberAccessException
MemberAccessException
public static array
# getMagicProperties( $class )

Returns array of magic properties defined by annotation @property.

Returns array of magic properties defined by annotation @property.

Returns

array
of [name => bit mask]

Internal

public static
# getSuggestion( array $possibilities, $value )

Finds the best suggestion (for 8-bit encoding).

Finds the best suggestion (for 8-bit encoding).

Parameters

$possibilities
$value

Internal

public static boolean|string
# hasProperty( $class, $name )

Checks if the public non-static property exists.

Checks if the public non-static property exists.

Returns

boolean|string
returns 'event' if the property exists and has event like name

Internal

Methods used from Nette\StaticClass
__callStatic(), __construct()
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0