Class WebUpdaterAction
Base action class for actions associated with the updater utility.
The updater is kept separate from the rest of the application like this to enable updating it to the latest version pre-emptively without harming any other part of the application with incompatibilities. For this reason, coupling between actions and the controller is intentionally kept very loose and limited to use of ubiquitous methods like CController::render(), with the exception of "error500" (which was in AdminController as of the switch to the new self-contained updater utility).
References to the application singleton and controller are thus accompanied by or wrapped in a slew of conditional statements for purposes of backwards compatibility.
- CComponent
- CAction implements IAction
- WebUpdaterAction
Package: application\components\webupdater
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/webupdater/WebUpdaterAction.php
public
|
|
public
|
#
__construct( type $controller, type $id )
Override of CAction's construct; all child classes need to have the behavior
|
public
|
#
runUpdateUpdater( mixed $updaterCheck, mixed $redirect )
Wrapper for |
getController(),
getId(),
runWithParams(),
runWithParamsInternal()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
run()
|
$controller,
$id
|