PEAR2_Templates_Savant › PEAR2_Templates_Savant-0.3.3/php/PEAR2/Templates/Savant/ObjectProxy/ArrayAccess.php
- PEAR2_Templates_Savant-0.3.3/
- doc/
- pear2.php.net/
- PEAR2_Templates_Savant/
- examples/
- baseball/
- examples/
- templates/
- examples/
- examples/
- PEAR2_Templates_Savant/
- pear2.php.net/
- php/
- PEAR2/
- Autoload.php
- Exception.php
- MultiErrors/
- MultiErrors.php
- Templates/
- PEAR2/
- test/
- 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
<?php
namespace PEAR2\Templates\Savant\ObjectProxy;
use PEAR2\Templates\Savant\ObjectProxy;
class ArrayAccess extends ObjectProxy implements \ArrayAccess
{
function offsetExists($offset)
{
return $this->object->offsetExists($offset);
}
function offsetGet($offset)
{
return $this->filterVar($this->object->offsetGet($offset));
}
function offsetSet($offset, $value)
{
$this->object->offsetSet($offset, $value);
}
function offsetUnset($offset)
{
$this->object->offsetUnset($offset);
}
}EOF
