Beispiel #1
0
 function __get($what)
 {
     // Pseudo-property for $sequence->current
     if ($what == 'current') {
         return $this->current();
     }
     return parent::__get($what);
 }