File/db/update/functions_mySQL.phpinc

Description

MYSQL update functions

Functions
DB_UPDATE_backup (line 13)
void DB_UPDATE_backup ()
DB_UPDATE_backupTable (line 36)

backups a table with serialized arrays

  • since: pk-05-06-16
boolean DB_UPDATE_backupTable (string $table)
  • string $table
DB_UPDATE_checkForm (line 182)

checks a form and adds fields if not in the form

  • since: pk-05-11-24
boolean DB_UPDATE_checkForm (string $frmObj_b64, [boolean $debug = FALSE])
  • string $frmObj_b64: base64_encoded serialized object
  • boolean $debug
DB_UPDATE_execCmd (line 65)
void DB_UPDATE_execCmd ( $cmd)
  • $cmd
DB_UPDATE_execScript (line 132)

executs a sql script file

void DB_UPDATE_execScript (string $file, [bool $debug = FALSE])
  • string $file: path tho file
  • bool $debug
DB_UPDATE_setVersion (line 89)

stores the new version of table in the database and clears $GLOBALS['PROJECT']['OBJCACHEPATH']

  • version: pk-06-05-24 (clear cache added)
void DB_UPDATE_setVersion (array $tblArray, [boolean $debug = FALSE])
  • array $tblArray: data to store to T_SYS_TABLES
  • boolean $debug

Documentation generated on Thu, 08 Jan 2009 17:44:18 +0100 by phpDocumentor 1.4.0a2