Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

arrayobject(3) [php man page]

ARRAYOBJECT(3)								 1							    ARRAYOBJECT(3)

The ArrayObject class

INTRODUCTION
This class allows objects to work as arrays. CLASS SYNOPSIS
ArrayObject ArrayObjectIteratorAggregateArrayAccessSerializableCountable Constants o const integer$STD_PROP_LIST1 o const integer$ARRAY_AS_PROPS2 Methods o public ArrayObject::__construct ([mixed $input = []], [int $flags], [string $iterator_class = "ArrayIterator"]) o public void ArrayObject::append (mixed $value) o public void ArrayObject::asort (void ) o public int ArrayObject::count (void ) o public array ArrayObject::exchangeArray (mixed $input) o public array ArrayObject::getArrayCopy (void ) o public int ArrayObject::getFlags (void ) o public ArrayIterator ArrayObject::getIterator (void ) o public string ArrayObject::getIteratorClass (void ) o public void ArrayObject::ksort (void ) o public void ArrayObject::natcasesort (void ) o public void ArrayObject::natsort (void ) o public bool ArrayObject::offsetExists (mixed $index) o public mixed ArrayObject::offsetGet (mixed $index) o public void ArrayObject::offsetSet (mixed $index, mixed $newval) o public void ArrayObject::offsetUnset (mixed $index) o public string ArrayObject::serialize (void ) o public void ArrayObject::setFlags (int $flags) o public void ArrayObject::setIteratorClass (string $iterator_class) o public void ArrayObject::uasort (callable $cmp_function) o public void ArrayObject::uksort (callable $cmp_function) o public void ArrayObject::unserialize (string $serialized) PREDEFINED CONSTANTS
ARRAYOBJECT FLAGS
o ArrayObject::STD_PROP_LIST -Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.). o ArrayObject::ARRAY_AS_PROPS -Entries can be accessed as properties (read and write). CHANGELOG
+--------+---------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------+ | 5.3.0 | | | | | | | Implements Serializable. | | | | +--------+---------------------------+ PHP Documentation Group ARRAYOBJECT(3)

Check Out this Related Man Page

SPLQUEUE(3)								 1							       SPLQUEUE(3)

The SplQueue class

INTRODUCTION
The SplQueue class provides the main functionalities of a queue implemented using a doubly linked list. CLASS SYNOPSIS
SplQueue SplQueueextends SplDoublyLinkedListIteratorArrayAccessCountable Methods o SplQueue::__construct (void ) o mixed SplQueue::dequeue (void ) o void SplQueue::enqueue (mixed $value) o void SplQueue::setIteratorMode (int $mode) Inherited methods o public void SplDoublyLinkedList::add (mixed $index, mixed $newval) o public mixed SplDoublyLinkedList::bottom (void ) o public int SplDoublyLinkedList::count (void ) o public mixed SplDoublyLinkedList::current (void ) o public int SplDoublyLinkedList::getIteratorMode (void ) o public bool SplDoublyLinkedList::isEmpty (void ) o public mixed SplDoublyLinkedList::key (void ) o public void SplDoublyLinkedList::next (void ) o public bool SplDoublyLinkedList::offsetExists (mixed $index) o public mixed SplDoublyLinkedList::offsetGet (mixed $index) o public void SplDoublyLinkedList::offsetSet (mixed $index, mixed $newval) o public void SplDoublyLinkedList::offsetUnset (mixed $index) o public mixed SplDoublyLinkedList::pop (void ) o public void SplDoublyLinkedList::prev (void ) o public void SplDoublyLinkedList::push (mixed $value) o public void SplDoublyLinkedList::rewind (void ) o public string SplDoublyLinkedList::serialize (void ) o public void SplDoublyLinkedList::setIteratorMode (int $mode) o public mixed SplDoublyLinkedList::shift (void ) o public mixed SplDoublyLinkedList::top (void ) o public void SplDoublyLinkedList::unserialize (string $serialized) o public void SplDoublyLinkedList::unshift (mixed $value) o public bool SplDoublyLinkedList::valid (void ) PHP Documentation Group SPLQUEUE(3)
Man Page