Class InstallQuery

Description

Located in /classes/InstallQuery.php (line 9)

Query
   |
   --InstallQuery
Direct descendents
Class Description
UpgradeQuery
Method Summary
void dropTable ( $tableName)
void executeSqlFile ( $filename, [ $tablePrfx = DB_TABLENAME_PREFIX])
void executeSqlFilesInDir ( $dir, [ $tablePrfx = ""])
void freshInstall ( $locale, [ $sampleDataRequired = false], [ $version = OBIB_LATEST_DB_VERSION], [ $tablePrfx = DB_TABLENAME_PREFIX])
void getCurrentDatabaseVersion ([ $tablePrfx = DB_TABLENAME_PREFIX])
void getCurrentLocale ([ $tablePrfx = DB_TABLENAME_PREFIX])
void getSettings ([ $tablePrfx = DB_TABLENAME_PREFIX])
void getTableNames ([ $pattern = ""])
void renameTable ( $fromTableName,  $toTableName)
void renameTables ( $fromTablePrfx, [ $toTablePrfx = DB_TABLENAME_PREFIX])
Variables

Inherited Variables

Inherited from Query

Query::$_link
Methods
dropTable (line 15)
void dropTable ( $tableName)
  • $tableName
executeSqlFile (line 104)

********************************************************************************

Function to read through an sql file executing SQL only when ";" is encountered ********************************************************************************

void executeSqlFile ( $filename, [ $tablePrfx = DB_TABLENAME_PREFIX])
  • $filename
  • $tablePrfx
executeSqlFilesInDir (line 87)
void executeSqlFilesInDir ( $dir, [ $tablePrfx = ""])
  • $dir
  • $tablePrfx
freshInstall (line 74)
void freshInstall ( $locale, [ $sampleDataRequired = false], [ $version = OBIB_LATEST_DB_VERSION], [ $tablePrfx = DB_TABLENAME_PREFIX])
  • $locale
  • $sampleDataRequired
  • $version
  • $tablePrfx
getCurrentDatabaseVersion (line 66)
void getCurrentDatabaseVersion ([ $tablePrfx = DB_TABLENAME_PREFIX])
  • $tablePrfx
getCurrentLocale (line 60)
void getCurrentLocale ([ $tablePrfx = DB_TABLENAME_PREFIX])
  • $tablePrfx
getSettings (line 48)
void getSettings ([ $tablePrfx = DB_TABLENAME_PREFIX])
  • $tablePrfx
getTableNames (line 34)
void getTableNames ([ $pattern = ""])
  • $pattern
renameTable (line 28)
void renameTable ( $fromTableName,  $toTableName)
  • $fromTableName
  • $toTableName
renameTables (line 20)
void renameTables ( $fromTablePrfx, [ $toTablePrfx = DB_TABLENAME_PREFIX])
  • $fromTablePrfx
  • $toTablePrfx

Inherited Methods

Inherited From Query

Query::Query()
Query::act()
Query::connect_e()
Query::getInsertID()
Query::lock()
Query::mkSQL()
Query::select()
Query::select01()
Query::select1()
Query::unlock()
Query::_act()
Query::_connect_e()
Query::_ident()
Query::_numstr()

Documentation generated on Sun, 28 Jul 2013 15:07:02 -0400 by phpDocumentor 1.4.4