Inheritance diagram for RecursiveArrayIterator:


Public Member Functions | |
| append ($value) | |
| asort () | |
| count () | |
| current () | |
| getArrayCopy () | |
| getChildren () | |
| getFlags () | |
| hasChildren () | |
| key () | |
| ksort () | |
| natcasesort () | |
| natsort () | |
| next () | |
| offsetExists ($index) | |
| offsetGet ($index) | |
| offsetSet ($index, $newval) | |
| offsetUnset ($index) | |
| rewind () | |
| seek ($position) | |
| setFlags ($flags) | |
| uasort (mixed cmp_function) | |
| uksort (mixed cmp_function) | |
| valid () | |
Public Attributes | |
| const | ARRAY_AS_PROPS = 0x00000002 |
| const | STD_PROP_LIST = 0x00000001 |
Private Attributes | |
| $ref | |
Definition at line 30 of file recursivearrayiterator.inc.
| ArrayIterator::append | ( | $ | value | ) | [inherited] |
| $value | is appended as last element |
Definition at line 804 of file spl.php.
| ArrayIterator::asort | ( | ) | [inherited] |
| ArrayIterator::count | ( | ) | [inherited] |
| ArrayIterator::current | ( | ) | [inherited] |
Return the current element.
Implements Iterator.
Reimplemented in SubClasses.
Definition at line 829 of file spl.php.
Referenced by getChildren(), and hasChildren().
| ArrayIterator::getArrayCopy | ( | ) | [inherited] |
Definition at line 810 of file spl.php.
| RecursiveArrayIterator::getChildren | ( | ) |
Implements RecursiveIterator.
Definition at line 43 of file recursivearrayiterator.inc.
References ArrayIterator::current().
00044 { 00045 if ($this->current() instanceof self) 00046 { 00047 return $this->current(); 00048 } 00049 if (empty($this->ref)) 00050 { 00051 $this->ref = new ReflectionClass($this); 00052 } 00053 return $this->ref->newInstance($this->current()); 00054 }
Here is the call graph for this function:

| ArrayIterator::getFlags | ( | ) | [inherited] |
| RecursiveArrayIterator::hasChildren | ( | ) |
Implements RecursiveIterator.
Definition at line 34 of file recursivearrayiterator.inc.
References ArrayIterator::current().
00035 { 00036 return is_array($this->current()); 00037 }
Here is the call graph for this function:

| ArrayIterator::key | ( | ) | [inherited] |
| ArrayIterator::ksort | ( | ) | [inherited] |
| ArrayIterator::natcasesort | ( | ) | [inherited] |
| ArrayIterator::natsort | ( | ) | [inherited] |
| ArrayIterator::next | ( | ) | [inherited] |
| ArrayIterator::offsetExists | ( | $ | index | ) | [inherited] |
| $index | offset to inspect |
Implements ArrayAccess.
Definition at line 784 of file spl.php.
| ArrayIterator::offsetGet | ( | $ | index | ) | [inherited] |
| $index | offset to return value for |
Implements ArrayAccess.
Definition at line 789 of file spl.php.
| ArrayIterator::offsetSet | ( | $ | index, | |
| $ | newval | |||
| ) | [inherited] |
| $index | index to set |
| $newval | new value to store at offset $index |
Implements ArrayAccess.
Definition at line 794 of file spl.php.
Referenced by SubClasses::__construct().
| ArrayIterator::offsetUnset | ( | $ | index | ) | [inherited] |
| ArrayIterator::rewind | ( | ) | [inherited] |
| ArrayIterator::seek | ( | $ | position | ) | [inherited] |
| $position | offset to seek to |
| OutOfBoundsException | if $position is invalid |
Implements SeekableIterator.
Definition at line 815 of file spl.php.
| ArrayIterator::setFlags | ( | $ | flags | ) | [inherited] |
| ArrayIterator::uasort | ( | mixed | cmp_function | ) | [inherited] |
| ArrayIterator::uksort | ( | mixed | cmp_function | ) | [inherited] |
| ArrayIterator::valid | ( | ) | [inherited] |
RecursiveArrayIterator::$ref [private] |
Definition at line 56 of file recursivearrayiterator.inc.
const ArrayIterator::ARRAY_AS_PROPS = 0x00000002 [inherited] |
const ArrayIterator::STD_PROP_LIST = 0x00000001 [inherited] |
1.5.2