A classe ArrayObject

Introdução

...

Sinopse da classe

ArrayObject implements IteratorAggregate , Traversable , ArrayAccess , Countable {
/* Métodos */
__construct ( mixed $input )
append ( mixed $newval ) : void
public asort ([ int $flags = SORT_REGULAR ] ) : void
count ( ) : int
public exchangeArray ( mixed $input ) : array
public getArrayCopy ( ) : array
public getFlags ( ) : int
public getIteratorClass ( ) : string
public ksort ([ int $flags = SORT_REGULAR ] ) : void
public natcasesort ( ) : void
public natsort ( ) : void
offsetExists ( mixed $index ) : bool
offsetGet ( mixed $index ) : mixed
offsetSet ( mixed $index , mixed $newval ) : void
offsetUnset ( mixed $index ) : void
public serialize ( ) : string
public setFlags ( int $flags ) : void
public setIteratorClass ( string $iterator_class ) : void
public uasort ( callable $cmp_function ) : void
public uksort ( callable $cmp_function ) : void
public unserialize ( string $serialized ) : void
}

Constantes pré-definidas

ArrayObject Flags

ArrayObject::STD_PROP_LIST

Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).

ArrayObject::ARRAY_AS_PROPS

Entries can be accessed as properties (read and write).

Índice