public function loadCurrent($model, &$cursor)
    {
        $model->data = array_shift($cursor);
        $model->id = $model->data[$model->id_field];
    }
public function loadCurrent($model, &$cursor)
    {
        $model->data = array_shift($cursor);
        $model->id = $model->data[$model->id_field];
    }
public function loadCurrent ( $ model , & $ cursor ) { $ model -> data = array_shift ( $ cursor ) ; $ model -> id = $ model -> data [ $ model -> id_field ] ; }
Load next data row from cursor.
Load next data row from cursor .