Xplain.Db.Version
- Xplain.Db.Version()
- Xplain.Db.Versionis a singleton class that provides some static methods to get version info about XplainUX and all other Xplain modules installed on the server. This usually includes infos about- XplainDb,- Coreand the- ObjectExplorerapp.- Before you can access version infos, you have to fetch these infos from the backend by using the - fetchmethod of this class.
fetch
- fetch()
- Return the version string as returned by the backend… 
getBranch
- getBranch()
- Returns the branch of a given module. For instance, this returns “master” or “develop” or “hot_dev”. - Returns
- {string|boolean} the branch as string or - falseif no branch info could be found.
 
getBuildDate
- getBuildDate()
- Returns the date this version has been build of a given module. For instance, this returns “2020-06-09T09:22:28+0200”. - Returns
- {string|boolean} the date this version has been build as string or - falseif no date info could be found.
 
isFetched
- isFetched()
- Returns - trueif version have already been fetched,- falseotherwise.- Returns
- {boolean} Returns - trueif version have already been fetched,- falseotherwise.
 
toString
- toString()
- Returns the infos as string for a given module, e.g. returns “master, 2020-06-09T09:22:28+0200”. - Returns
- {string|boolean} the version infos as string or - falseif no infos could be found.