public function fetchAll($sql, $bind = array(), $fetchMode = null)
    {
        if ($fetchMode === null) {
            $fetchMode = $this->_fetchMode;
        }
        $stmt = $this->query($sql, $bind);
        $result = $stmt->fetchAll($fetchMode);
        return $result;
    }
public function fetchAll($sql, $bind = array(), $fetchMode = null)
    {
        if ($fetchMode === null) {
            $fetchMode = $this->_fetchMode;
        }
        $stmt = $this->query($sql, $bind);
        $result = $stmt->fetchAll($fetchMode);
        return $result;
    }
public function fetchAll ( $ sql , $ bind = array ( ) , $ fetchMode = null ) { if ( $ fetchMode === null ) { $ fetchMode = $ this -> _fetchMode ; } $ stmt = $ this -> query ( $ sql , $ bind ) ; $ result = $ stmt -> fetchAll ( $ fetchMode ) ; return $ result ; }
Fetches all SQL result rows as a sequential array.
Uses the current fetchMode for the adapter.

@param string|Zend_Db_Select $sql  An SQL SELECT statement.
@param mixed                 $bind Data to bind into SELECT placeholders.
@param mixed                 $fetchMode Override current fetch mode.
@return array
Fetches all SQL result rows as a sequential array . Uses the current fetchMode for the adapter .