ePages 6.17.15 - DE_EPAGES/Installer/API/EpagesVersionInfoHandler.pm

Package DE_EPAGES::Installer::API::EpagesVersionInfoHandler

gives information about epages release versions.

Functions

getMainPartOfVersion
isClusterPatchVersion
isMainPatchVersion
new

getMainPartOfVersion

return the main 3 numbers of version

Syntax
$EpagesVersionInfoHandler->getMainPartOfVersion($Version);
Input
$Version (string)
version
Return
$VersionMainpart (string)
first three numbers of version

isClusterPatchVersion

return true if version consist of more than three numbers e.g. 6.17.9.3 return false if version consist of less than three numbers e.g. 6.17.9

Syntax
$EpagesVersionInfoHandler->isClusterPatchVersion($Version);
Input
$Version (string)
version
Return
$IsClusterPatchVersion (bool)
true if version is a main patch version

isMainPatchVersion

return true if version consist of three numbers e.g. 6.17.9 return false if version consist not of numbers e.g. 6.17.9.3 or 6.17

Syntax
$EpagesVersionInfoHandler->isMainPatchVersion($Version);
Input
$Version (string)
version
Return
$isMainPatchVersion (bool)
true if version is a main patch version

new

Creates a new tag handler object

Syntax
$TagHandler = DE_EPAGES::Installer::API::EpagesVersionInfoHandler->new(
    'verbose' => 1
);
Input
$hOptions (hash)
keys
  • verbose - print messages if set to 1

Return
$TagHandler (object)
tag handler object