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 ArrayHash

Provides objects to work as array.

stdClass
Extended by Nette\ArrayHash implements ArrayAccess, Countable, IteratorAggregate

Direct known subclasses

Nette\Database\Row
Namespace: Nette
Author: David Grudl
Located at common/ArrayHash.php
Methods summary
public static Nette\ArrayHash
# from( array $arr, boolean $recursive = TRUE )

Parameters

$arr
array
to wrap
$recursive
boolean

Returns

Nette\ArrayHash
public RecursiveArrayIterator
# getIterator( )

Returns an iterator over all items.

Returns an iterator over all items.

Returns

RecursiveArrayIterator

Implementation of

IteratorAggregate::getIterator()
public integer
# count( )

Returns items count.

Returns items count.

Returns

integer

Implementation of

Countable::count()
public
# offsetSet( $key, $value )

Replaces or appends a item.

Replaces or appends a item.

Implementation of

ArrayAccess::offsetSet()
public mixed
# offsetGet( $key )

Returns a item.

Returns a item.

Returns

mixed

Implementation of

ArrayAccess::offsetGet()
public boolean
# offsetExists( $key )

Determines whether a item exists.

Determines whether a item exists.

Returns

boolean

Implementation of

ArrayAccess::offsetExists()
public
# offsetUnset( $key )

Removes the element from this list.

Removes the element from this list.

Implementation of

ArrayAccess::offsetUnset()
Nette 2.1 API documentation generated by ApiGen 2.8.0