/**
  * Returns the db data content
  *
  * @access   public
  *
  * @param    AbstractDB  $db                 db identifier
  * @param    Integer     $type               ANYDB_DUMP_ constants
  * @param    String      $seperator          for csv files
  *
  * @returns  Array       the table data
  */
 function getDBDataDump(&$db, $type = ANYDB_DUMP_SQL, $seperator = "\t")
 {
     $res = array();
     $tables = $db->getTables();
     if (@sizeof($tables) == 0) {
         die('dumpDB(): No tables found...');
     }
     foreach ($tables as $table) {
         $res[$table] = Exporter::getTableData($db, $table, $type, $seperator) . "\n";
     }
     return $res;
 }