PEAR2_Templates_Savant-0.2.0 › PEAR2_Templates_Savant-0.2.0/php/PEAR2/Templates/Savant/ObjectProxy/Traversable.php
- PEAR2_Templates_Savant-0.2.0/
- doc/
- PEAR2_Templates_Savant/
- pear2.php.net/
- examples/
- baseball/
- examples/
- templates/
- examples/
- examples/
- pear2.php.net/
- PEAR2_Templates_Savant/
- php/
- PEAR2/
- Autoload.php
- Exception.php
- MultiErrors/
- MultiErrors.php
- Templates/
- PEAR2/
- test/
- PEAR2_Templates_Savant/
- doc/
- package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
namespace PEAR2\Templates\Savant\ObjectProxy;
use PEAR2\Templates\Savant\ObjectProxy;
class Traversable extends ObjectProxy implements \Iterator
{
function getIterator()
{
return $this->object;
}
function next()
{
$this->object->next();
}
function key()
{
return $this->object->key();
}
function valid()
{
return $this->object->valid();
}
function rewind()
{
$this->object->rewind();
}
function current()
{
return $this->filterVar($this->object->current());
}
}EOF
