parachute/phpMyAdmin/test/libraries/PMA_relation_cleanup_test.php
/**
     * returns array of rows with numeric keys from $result
     *
     * @param object $result result set identifier
     *
     * @return array
     */
returns array of rows with numeric keys from $result
@param object $result result set identifier

@return array
returns array of rows with numeric keys from $result @param object $result result set identifier @return array
function fetchRow($result)
    {
        $curr_table = array();
        if ($this->index < count($this->values)) {
            $curr_table[0] = $this->values[$this->index];
            $this->index++;
            return $curr_table;
        }
        $this->index = 0;
        return false;
    }
function fetchRow ( $ result ) { $ curr_table = array ( ) ; if ( $ this -> index < count ( $ this -> values ) ) { $ curr_table [ 0 ] = $ this -> values [ $ this -> index ] ; $ this -> index ++ ; return $ curr_table ; } $ this -> index = 0 ; return false ; }
returns array of rows with numeric keys from $result
 @param object $result result set identifier
returns array of rows with numeric keys from $result @param object $result result set identifier