Class UpdateCommand
X2Engine command line updater.
- CComponent
- CConsoleCommand
- UpdateCommand
Package: application\commands
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/commands/UpdateCommand.php
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/commands/UpdateCommand.php
public
boolean
|
#
beforeAction( string $action, array $params )
This method is invoked right before an action is to be executed. You may override this method to do last-minute preparation for the action. |
public
|
|
public
|
|
public
|
#
actionUpgrade( type $key, type $firstName, type $lastName, type $email, boolean $force = 0, mixed $backup = 1 )
Performs registration and upgrades the application to a different edition. |
public
|
#
runOperation( string $scenario, boolean $force = false, boolean $backup = true, mixed $lock = false )
Runs the actual update/upgrade. |
public
integer
|
__construct(),
afterAction(),
behaviors(),
buildFileList(),
confirm(),
copyFiles(),
ensureDirectory(),
getCommandRunner(),
getHelp(),
getName(),
getOptionHelp(),
init(),
onAfterAction(),
onBeforeAction(),
pluralize(),
prompt(),
renderFile(),
resolveRequest(),
run(),
usageError()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
$defaultAction
|
$commandRunner,
$help,
$name,
$optionHelp
|