Exemple #1
0
 /**
  * Cache the result row
  */
 public function current()
 {
     $row = parent::current();
     if (is_object($row)) {
         model_cache::set($row);
     }
     return $row;
 }