mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
0ce5143532
|
@ -30,6 +30,20 @@ class SeedDMS_Version {
|
|||
return $this->_number;
|
||||
}
|
||||
|
||||
function majorVersion() {
|
||||
$tmp = explode('.', $this->_number, 3);
|
||||
return (int) $tmp[0];
|
||||
}
|
||||
|
||||
function minorVersion() {
|
||||
$tmp = explode('.', $this->_number, 3);
|
||||
return (int) $tmp[1];
|
||||
}
|
||||
|
||||
function subminorVersion() {
|
||||
$tmp = explode('.', $this->_number, 3);
|
||||
return (int) $tmp[2];
|
||||
}
|
||||
function banner() {
|
||||
return $this->_string .", ". $this->_number;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user