Update
class Update
Class Update
Constants
SQL_DIR |
|
PHP_DIR |
|
INSTRUCTION_DIR |
|
Methods
__construct($usePropel = true)
No description
isLatestVersion($version = null)
No description
process()
No description
bool
backupDb()
Backup current DB to file local/backup/update.sql
bool
restoreDb()
Restores file local/backup/update.sql to current DB
null|string
getBackupFile()
No description
getLogs()
No description
getCurrentVersion()
No description
setCurrentVersion($version)
No description
float
getDataBaseSize()
Returns the database size in Mo
bool
checkBackupIsPossible()
Checks whether it is possible to make a data base backup
getLatestVersion()
No description
getVersions()
No description
array
getUpdatedVersions()
No description
setUpdatedVersions(
array $updatedVersions)
No description
string
getPostInstructions(
string $format = 'plain')
Return the content of all instructions
hasPostInstructions()
No description
getVersionList()
No description
$this
setMessage(
string $message,
string $type = 'info')
No description
array
getMessages()
No description
string
trans(
string $string)
No description
$this
setTranslator(
Translator $translator)
No description
getWebVersion()
No description
Details
at line 75
__construct($usePropel = true)
at line 148
isLatestVersion($version = null)
at line 158
process()
at line 230
bool
backupDb()
Backup current DB to file local/backup/update.sql
at line 277
bool
restoreDb()
Restores file local/backup/update.sql to current DB
at line 301
null|string
getBackupFile()
at line 306
getLogs()
at line 384
getCurrentVersion()
at line 391
setCurrentVersion($version)
at line 412
float
getDataBaseSize()
Returns the database size in Mo
at line 431
bool
checkBackupIsPossible()
Checks whether it is possible to make a data base backup
at line 455
getLatestVersion()
at line 460
getVersions()
at line 468
array
getUpdatedVersions()
at line 476
setUpdatedVersions(
array $updatedVersions)
at line 501
string
getPostInstructions(
string $format = 'plain')
Return the content of all instructions