Packages

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

Classes

  • ArrayHash
  • ArrayList
  • Callback
  • Configurator
  • DateTime53
  • Framework
  • FreezableObject
  • Image
  • Object
  • ObjectMixin

Interfaces

  • IFreezable

Exceptions

  • ArgumentOutOfRangeException
  • DeprecatedException
  • DirectoryNotFoundException
  • FatalErrorException
  • FileNotFoundException
  • InvalidStateException
  • IOException
  • MemberAccessException
  • NotImplementedException
  • NotSupportedException
  • StaticClassException
  • Overview
  • Package
  • Class
  • Tree

Class ArrayHash

Provides objects to work as array.

stdClass
Extended by ArrayHash implements ArrayAccess, Countable, IteratorAggregate

Direct known subclasses

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

Parameters

$arr
array
to wrap
$recursive
boolean

Returns

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( mixed $key, mixed $value )

Replaces or appends a item.

Replaces or appends a item.

Parameters

$key
mixed
$value
mixed

Implementation of

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

Returns a item.

Returns a item.

Parameters

$key
mixed

Returns

mixed

Implementation of

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

Determines whether a item exists.

Determines whether a item exists.

Parameters

$key
mixed

Returns

boolean

Implementation of

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

Removes the element from this list.

Removes the element from this list.

Parameters

$key
mixed

Implementation of

ArrayAccess::offsetUnset
Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0