MIOLO26
|
Membros públicos | |
__construct ($updateDataFile) | |
update () | |
getCurrentVersion () | |
updateCurrentVersion ($version) | |
__destruct () | |
Membros públicos herdados de MIOLOConsole | |
__construct () | |
fatalErrorShutdown () | |
sigintShutdown ($signal) | |
getMIOLOInstance ($pathMiolo, $module) | |
loadMIOLO () | |
Campos de Dados | |
const | UPDATE = 'update' |
const | PRE_SCRIPT = 'pre' |
const | POST_SCRIPT = 'post' |
const | CURRENT_UPDATE_VERSION_FILE = '.update' |
Membros protegidos | |
message ($message) | |
error ($message) | |
Membros protegidos herdados de MIOLOConsole | |
prompt ($message, $noMessage) | |
execute ($cmd, $errorMessage='', $endOnError=true) | |
Outros membros herdados | |
Atributos Protegidos herdados de MIOLOConsole | |
$MIOLO | |
Class to make MIOLO updates through a ZIP file.
__construct | ( | $updateDataFile | ) |
MIOLOUpdater constructor.
string | $updateDataFile | File with update data. |
__destruct | ( | ) |
Cleanup stuff done by the object.
|
protected |
Override error method for logging purpose.
string | $message | Error message. |
Reimplementado de MIOLOConsole.
getCurrentVersion | ( | ) |
Get the current version of update file defined by CURRENT_UPDATE_VERSION_FILE constant.
|
protected |
Override message method for logging purpose.
string | $message | Message to be printed. |
Reimplementado de MIOLOConsole.
update | ( | ) |
Perform the update.
updateCurrentVersion | ( | $version | ) |
Create or update the file defined by CURRENT_UPDATE_VERSION_FILE constant.
integer | $version | New version. |
const CURRENT_UPDATE_VERSION_FILE = '.update' |
File name with the last update sequential number. This file location is the root of the installation.
const POST_SCRIPT = 'post' |
File name of the script (sh or php) to be executed after applying the patch.
const PRE_SCRIPT = 'pre' |
File name of the script (sh or php) to be executed before applying the patch.