Controller_Data_Mongo::next PHP Метод

next() публичный Метод

public next ( $model )
    public function next($model)
    {
        $c = $this->_get($model, 'cur');
        $model->data = $c->getNext();
        $model->id = (string) $model->data[$model->id_field] ?: null;
        return $model->data;
    }