<?php



abstract class CFDBDataIterator {

    /**
     * @var array[name=>value]
     */
    var $row;

    /**
     * @var array
     */
    var $displayColumns = array();

    /**
     * @return array[string]
     */
    public function getDisplayColumns() {
        return $this->displayColumns;
    }

    /**
     * Fetch next row into variable
     * @return bool if next row exists
     */
    public abstract function nextRow();

//    /**
//     * @return array[name=>value]
//     */
//    public function &getRow() {
//        return $this->row;
//    }


}