abstract class InstallEvents

Properties

Controller $mod

Methods

initializeAfterInstall($old_revision, $module, $instance_id)

Only called when module is installed

beforeTableUpdate($old_revision, $module, $instance_id)

Called before SQL tranformations are applied to the database

afterTableUpdate($old_revision, $module, $instance_id)

Called after SQL tranformations are applied to the database

afterModuleUpdate($old_revision, $module, $instance_id)

Only called after module has been updated

string
revisionToXelosVersion(int $revision)

Return XELOS version for the supplied build number in PHP style notation e.g. 7.1.5 for use with version_compare()

Details

at line 19
initializeAfterInstall($old_revision, $module, $instance_id)

Only called when module is installed

Parameters

$old_revision
$module
$instance_id

at line 29
beforeTableUpdate($old_revision, $module, $instance_id)

Called before SQL tranformations are applied to the database

Parameters

$old_revision
$module
$instance_id

at line 39
afterTableUpdate($old_revision, $module, $instance_id)

Called after SQL tranformations are applied to the database

Parameters

$old_revision
$module
$instance_id

at line 50
afterModuleUpdate($old_revision, $module, $instance_id)

Only called after module has been updated

Parameters

$old_revision
$module
$instance_id

at line 59
final string revisionToXelosVersion(int $revision)

Return XELOS version for the supplied build number in PHP style notation e.g. 7.1.5 for use with version_compare()

Parameters

int $revision Build Number

Return Value

string XELOS version as in 7.1.0