Esempio n. 1
0
 /**
  * (PHP 5 &gt;= 5.0.0)<br/>
  * Return the current element
  * @link http://php.net/manual/en/iterator.current.php
  * @return mixed Can return any type.
  */
 public function current()
 {
     $data = $this->data[$this->cur];
     if (!is_null($this->vo)) {
         $this->vo->setData($data);
         return $this->vo;
     } else {
         return $data;
     }
 }