00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00022 class PEIP_Parameter_Collection 00023 extends PEIP_Parameter_Holder 00024 implements ArrayAccess { 00025 00026 00032 public function offsetExists($offset){ 00033 return $this->hasParameter($offset); 00034 } 00035 00036 00042 public function offsetGet($offset){ 00043 return $this->getParameter($offset); 00044 } 00045 00046 00052 public function offsetUnset($name){ 00053 $this->deleteParameter($name); 00054 } 00055 00056 00063 public function offsetSet($offset, $name){ 00064 $this->setParameter($offeset, $name); 00065 } 00066 00067 }