Inheritance diagram for ArrayObject:


Public Member Functions | |
| __construct ($array, $flags=0, $iterator_class="ArrayIterator") | |
| append ($value) | |
| asort () | |
| count () | |
| exchangeArray ($array) | |
| getArrayCopy () | |
| getFlags () | |
| getIterator () | |
| getIteratorClass () | |
| ksort () | |
| natcasesort () | |
| natsort () | |
| offsetExists ($index) | |
| offsetGet ($index) | |
| offsetSet ($index, $newval) | |
| offsetUnset ($index) | |
| setFlags ($flags) | |
| setIteratorClass ($itertor_class) | |
| uasort (mixed cmp_function) | |
| uksort (mixed cmp_function) | |
Public Attributes | |
| const | ARRAY_AS_PROPS = 0x00000002 |
| const | STD_PROP_LIST = 0x00000001 |
Definition at line 606 of file spl.php.
| ArrayObject::__construct | ( | $ | array, | |
| $ | flags = 0, |
|||
| $ | iterator_class = "ArrayIterator" | |||
| ) |
Construct a new array iterator from anything that has a hash table.
That is any Array or Object.
| $array | the array to use. | |
| $flags | see setFlags(). | |
| $iterator_class | class used in getIterator() |
Definition at line 621 of file spl.php.
| ArrayObject::append | ( | $ | value | ) |
| $value | is appended as last element |
Definition at line 692 of file spl.php.
| ArrayObject::count | ( | ) |
| ArrayObject::exchangeArray | ( | $ | array | ) |
| ArrayObject::getArrayCopy | ( | ) |
Definition at line 698 of file spl.php.
| ArrayObject::getIterator | ( | ) |
Implements IteratorAggregate.
Definition at line 667 of file spl.php.
| ArrayObject::natcasesort | ( | ) |
| ArrayObject::natsort | ( | ) |
| ArrayObject::offsetExists | ( | $ | index | ) |
| $index | offset to inspect |
Implements ArrayAccess.
Definition at line 672 of file spl.php.
| ArrayObject::offsetGet | ( | $ | index | ) |
| $index | offset to return value for |
Implements ArrayAccess.
Definition at line 677 of file spl.php.
| ArrayObject::offsetSet | ( | $ | index, | |
| $ | newval | |||
| ) |
| $index | index to set |
| $newval | new value to store at offset $index |
Implements ArrayAccess.
Definition at line 682 of file spl.php.
| ArrayObject::offsetUnset | ( | $ | index | ) |
| ArrayObject::setFlags | ( | $ | flags | ) |
| ArrayObject::uasort | ( | mixed | cmp_function | ) |
| ArrayObject::uksort | ( | mixed | cmp_function | ) |
| const ArrayObject::ARRAY_AS_PROPS = 0x00000002 |
| const ArrayObject::STD_PROP_LIST = 0x00000001 |
1.5.2