Public Member Functions | |
| __construct () | |
| addNode (Varien_Db_Tree_Node $node) | |
| count () | |
| valid () | |
| next () | |
| key () | |
| current () | |
| rewind () | |
Definition at line 32 of file NodeSet.php.
| __construct | ( | ) |
Definition at line 39 of file NodeSet.php.
00039 { 00040 $this->_nodes = array(); 00041 $this->_current = 0; 00042 $this->_currentNode = 0; 00043 $this->count = 0; 00044 }
| addNode | ( | Varien_Db_Tree_Node $ | node | ) |
Definition at line 48 of file NodeSet.php.
00048 { 00049 $this->_nodes[$this->_currentNode] = $node; 00050 $this->count++; 00051 return ++$this->_currentNode; 00052 }
| count | ( | ) |
| current | ( | ) |
| key | ( | ) |
| next | ( | ) |
Definition at line 63 of file NodeSet.php.
00063 { 00064 if ($this->_current > $this->_currentNode) { 00065 return false; 00066 } else { 00067 return $this->_current++; 00068 } 00069 }
| rewind | ( | ) |
| valid | ( | ) |
1.5.8