Class Exporter

Description

Utility class for anyDB

With this class you export db or table content

Located in /core/anyDB/addon/Exporter.php (line 28)

UtilityClass
   |
   --Exporter
Method Summary
Array getDB (AbstractDB &$db, [Integer $type = ANYDB_DUMP_SQL], [String $seperator = "\t"])
Array getTable (AbstractDB &$db, String $table, [Integer $type = ANYDB_DUMP_SQL], [String $seperator = "\t"])
Methods
getDB (line 58)

Returns the db data content

  • return: the table data
  • access: public
Array getDB (AbstractDB &$db, [Integer $type = ANYDB_DUMP_SQL], [String $seperator = "\t"])
  • AbstractDB $db: db identifier
  • Integer $type: ANYDB_DUMP_ constants
  • String $seperator: for csv files
getTable (line 83)

Returns the data for one table

  • return: the table data
  • access: public
Array getTable (AbstractDB &$db, String $table, [Integer $type = ANYDB_DUMP_SQL], [String $seperator = "\t"])
  • AbstractDB $db: db identifier
  • String $table: table name
  • Integer $type: ANYDB_DUMP_ constants
  • String $seperator: for csv files

Inherited Methods

Inherited From UtilityClass

UtilityClass::UtilityClass()

Documentation generated on Tue, 4 Oct 2005 21:59:08 -0700 by phpDocumentor 1.3.0RC3