InstallEvents
class InstallEvents extends InstallEvents
Class InstallEvents
Properties
xm_groups read-only | $mod |
Methods
No description
No description
Called before SQL tranformations are applied to the database
No description
Returns true if the given old revision relates to an newer version then the given version.
Returns true if the given old revision relates to an older version then the given version.
Return XELOS version for the supplied build number in PHP style notation e.g. 7.1.5 for use with version_compare()
Details
in
InstallEvents at line 25
__construct(Controller $mod, string $oldRevision)
InstallEvents constructor.
at line 159
afterModuleUpdate($old_revision, $module, $instance_id)
No description
at line 24
afterTableUpdate($old_revision, $module, $instance_id)
No description
in
InstallEvents at line 46
beforeTableUpdate($old_revision, $module, $instance_id)
Called before SQL tranformations are applied to the database
at line 34
initializeAfterInstall($old_revision, $module, $instance_id)
No description
in
InstallEvents at line 103
bool
isVersionGreaterThan(string $version, int $oldRevision = null)
Returns true if the given old revision relates to an newer version then the given version.
in
InstallEvents at line 89
bool
isVersionLessThan(string $version, int $oldRevision = null)
Returns true if the given old revision relates to an older version then the given version.
in
InstallEvents at line 76
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()