irm-1.6-b3/MDB/Common.php
/**
     * Execute the specified query, fetch all the rows of the result set into
     * a two dimensional array and then frees the result set.
     *
     * @param string $query the SELECT query statement to be executed.
     * @param array $types optional array argument that specifies a list of
     *       expected datatypes of the result set columns, so that the eventual
     *       conversions may be performed. The default list of datatypes is
     *       empty, meaning that no conversion is performed.
     * @param int $fetchmode how the array data should be indexed
     * @param boolean $rekey if set to TRUE, the $all will have the first
     *       column as its first dimension
     * @param boolean $force_array used only when the query returns exactly
     *       two columns. If TRUE, the values of the returned array will be
     *       one-element arrays instead of scalars.
     * @param boolean $group if TRUE, the values of the returned array is
     *       wrapped in another array.  If the same key value (in the first
     *       column) repeats itself, the values will be appended to this array
     *       instead of overwriting the existing values.
     * @return mixed data array on success, a MDB error on failure
     * @access public
     */
Execute the specified query, fetch all the rows of the result set into
a two dimensional array and then frees the result set.

@param string $query the SELECT query statement to be executed.
@param array $types optional array argument that specifies a list of
expected datatypes of the result set columns, so that the eventual
conversions may be performed. The default list of datatypes is
empty, meaning that no conversion is performed.
@param int $fetchmode how the array data should be indexed
@param boolean $rekey if set to TRUE, the $all will have the first
column as its first dimension
@param boolean $force_array used only when the query returns exactly
two columns. If TRUE, the values of the returned array will be
one-element arrays instead of scalars.
@param boolean $group if TRUE, the values of the returned array is
wrapped in another array.  If the same key value (in the first
column) repeats itself, the values will be appended to this array
instead of overwriting the existing values.
@return mixed data array on success, a MDB error on failure
@access public
Execute the specified query fetch all the rows of the result set into a two dimensional array and then frees the result set . @param string $query the SELECT query statement to be executed . @param array $types optional array argument that specifies a list of expected datatypes of the result set columns so that the eventual conversions may be performed . The default list of datatypes is empty meaning that no conversion is performed . @param int $fetchmode how the array data should be indexed @param boolean $rekey if set to TRUE the $all will have the first column as its first dimension @param boolean $force_array used only when the query returns exactly two columns . If TRUE the values of the returned array will be one - element arrays instead of scalars . @param boolean $group if TRUE the values of the returned array is wrapped in another array . If the same key value ( in the first column ) repeats itself the values will be appended to this array instead of overwriting the existing values . @return mixed data array on success a MDB error on failure @access public
function queryAll($query, $types = NULL, $fetchmode = MDB_FETCHMODE_DEFAULT,
        $rekey = FALSE, $force_array = FALSE, $group = FALSE)
    {
        if (MDB::isError($result = $this->query($query, $types))) {
            return($result);
        }
        return($this->fetchAll($result, $fetchmode, $rekey, $force_array, $group));
    }
function queryAll ( $ query , $ types = NULL , $ fetchmode = MDB_FETCHMODE_DEFAULT , $ rekey = FALSE , $ force_array = FALSE , $ group = FALSE ) { if ( MDB :: isError ( $ result = $ this -> query ( $ query , $ types ) ) ) { return ( $ result ) ; } return ( $ this -> fetchAll ( $ result , $ fetchmode , $ rekey , $ force_array , $ group ) ) ; }
Execute the specified query, fetch all the rows of the result set into
 a two dimensional array and then frees the result set.
Execute the specified query fetch all the rows of the result set into a two dimensional array and then frees the result set .