|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
A version number that consists of three numbers (major, minor, patch). More...
Collaboration diagram for ILIAS\Data\Version:Public Member Functions | |
| __construct (string $version) | |
| getMajor () | |
| getMinor () | |
| getPatch () | |
| equals (Version $other) | |
| isGreaterThan (Version $other) | |
| isGreaterThanOrEquals (Version $other) | |
| isSmallerThan (Version $other) | |
| isSmallerThanOrEquals (Version $other) | |
| __toString () | |
Protected Attributes | |
| int | $major |
| int | $minor |
| int | $patch |
Private Attributes | |
| const | REGEXP = '(?<major>\d+)([.](?<minor>\d+)([.](?<patch>\d+))?)?' |
A version number that consists of three numbers (major, minor, patch).
Definition at line 26 of file Version.php.
| ILIAS\Data\Version::__construct | ( | string | $version | ) |
Definition at line 34 of file Version.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Data\Version::__toString | ( | ) |
Definition at line 90 of file Version.php.
Referenced by ILIAS\Export\ImportHandler\File\XML\Export\DataSet\Handler\buildValidationSets().
Here is the caller graph for this function:| ILIAS\Data\Version::equals | ( | Version | $other | ) |
Definition at line 62 of file Version.php.
Referenced by ILIAS\Data\Version\isGreaterThanOrEquals(), and ILIAS\Data\Version\isSmallerThanOrEquals().
Here is the caller graph for this function:| ILIAS\Data\Version::getMajor | ( | ) |
| ILIAS\Data\Version::getMinor | ( | ) |
| ILIAS\Data\Version::getPatch | ( | ) |
| ILIAS\Data\Version::isGreaterThan | ( | Version | $other | ) |
Definition at line 70 of file Version.php.
Referenced by ILIAS\Data\Version\isGreaterThanOrEquals(), ILIAS\Data\Version\isSmallerThan(), and ILIAS\Data\Version\isSmallerThanOrEquals().
Here is the caller graph for this function:| ILIAS\Data\Version::isGreaterThanOrEquals | ( | Version | $other | ) |
Definition at line 75 of file Version.php.
References ILIAS\Data\Version\equals(), and ILIAS\Data\Version\isGreaterThan().
Here is the call graph for this function:| ILIAS\Data\Version::isSmallerThan | ( | Version | $other | ) |
Definition at line 80 of file Version.php.
References ILIAS\Data\Version\isGreaterThan().
Here is the call graph for this function:| ILIAS\Data\Version::isSmallerThanOrEquals | ( | Version | $other | ) |
Definition at line 85 of file Version.php.
References ILIAS\Data\Version\equals(), and ILIAS\Data\Version\isGreaterThan().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file Version.php.
Referenced by ILIAS\Data\Version\getMajor().
|
protected |
Definition at line 31 of file Version.php.
Referenced by ILIAS\Data\Version\getMinor().
|
protected |
Definition at line 32 of file Version.php.
Referenced by ILIAS\Data\Version\getPatch().
|
private |
Definition at line 28 of file Version.php.