◆ getStudipVersion()
static getStudipVersion |
( |
|
$major = true | ) |
|
|
static |
Returns the current Stud.IP-version
- Parameters
-
bool | $major | if true (default) only the major version part is returned |
- Returns
- string
◆ matches()
static matches |
( |
|
$version, |
|
|
|
$major = true |
|
) |
| |
|
static |
Returns true if passed version matches the current Stud.IP version
- Parameters
-
string | $version | |
bool | $major | if true (default) only the major version part is checked (fe. 3.4, 3.5, ...) |
- Returns
- bool
◆ newerThan()
static newerThan |
( |
|
$version, |
|
|
|
$major = true |
|
) |
| |
|
static |
Returns true if passed version is newer than the current Stud.IP version
- Parameters
-
string | $version | |
bool | $major | if true (default) only the major version part is checked (fe. 3.4, 3.5, ...) |
- Returns
- bool
◆ olderThan()
static olderThan |
( |
|
$version, |
|
|
|
$major = true |
|
) |
| |
|
static |
Returns true if passed version is older than the current Stud.IP version
- Parameters
-
string | $version | |
bool | $major | if true (default) only the major version part is checked (fe. 3.4, 3.5, ...) |
- Returns
- bool
◆ range()
static range |
( |
|
$from_version, |
|
|
|
$to_version, |
|
|
|
$major = true |
|
) |
| |
|
static |
Returns true if version equals or is between the two passed versions
- Parameters
-
string | $from_version | |
string | $to_version | |
bool | $major | if true (default) only the major version part is checked (fe. 3.4, 3.5, ...) |
- Returns
- bool
The documentation for this class was generated from the following file: