irm-1.6-b3/MDB/Common.php
/**
     * Fetch and return a field of data (it uses fetchInto for that)
     *
     * @param resource $result result identifier
     * @return mixed data on success, a MDB error on failure
     * @access public
     */
Fetch and return a field of data (it uses fetchInto for that)
@param resource $result result identifier
@return mixed data on success, a MDB error on failure
@access public
Fetch and return a field of data ( it uses fetchInto for that ) @param resource $result result identifier @return mixed data on success a MDB error on failure @access public
function fetchOne($result)
    {
        $row = $this->fetchInto($result, MDB_FETCHMODE_ORDERED);
        if (!$this->options['autofree'] || $row != NULL) {
            $this->freeResult($result);
        }
        if (is_array($row)) {
            return($row[0]);
        }
        return($row);
    }
function fetchOne ( $ result ) { $ row = $ this -> fetchInto ( $ result , MDB_FETCHMODE_ORDERED ) ; if ( ! $ this -> options [ 'autofree' ] || $ row != NULL ) { $ this -> freeResult ( $ result ) ; } if ( is_array ( $ row ) ) { return ( $ row [ 0 ] ) ; } return ( $ row ) ; }
Fetch and return a field of data (it uses fetchInto for that)
 @param resource $result result identifier
 @return mixed data on success, a MDB error on failure
 @access public
Fetch and return a field of data ( it uses fetchInto for that ) @param resource $result result identifier @return mixed data on success a MDB error on failure @access public