Example #1
0
 public function __get($name)
 {
     switch ($name) {
         case "FIRST":
             return $this;
         case "LAST":
             return $this->_last;
         default:
             return parent::__get($name);
     }
 }