Popo.php

Go to the documentation of this file.
00001 <?php
00002 
00031 class Robo47_Popo extends ArrayObject
00032 {
00033 
00040     public function __set($name, $value)
00041     {
00042         $this[$name] = $value;
00043     }
00044 
00051     public function __get($name)
00052     {
00053         if (isset($this[$name])) {
00054             return $this[$name];
00055         }
00056         throw new Robo47_Exception('Variable ' . $name . ' not set');
00057     }
00058 
00065     public function __isset($name)
00066     {
00067         return isset($this[$name]);
00068     }
00069 
00075     public function __unset($name)
00076     {
00077         unset($this[$name]);
00078     }
00079 }