ModulesChecker
in package
Table of Contents
Constants
- coreExternalModules = array('jelix', 'jacl2', 'jacl2db', 'jcommunity', 'jacl2db_admin', 'jauthdb_admin', 'master_admin')
- coreLizmapModules = array('action', 'admin', 'admin_api', 'dataviz', 'filter', 'lizmap', 'proj4php', 'view')
Methods
- compareLizmapCoreModulesVersions() : bool
- Compare the list of Lizmap core modules to a given version.
- getList() : mixed
- Get the list of installed modules with their metadata.
Constants
coreExternalModules
private
mixed
coreExternalModules
= array('jelix', 'jacl2', 'jacl2db', 'jcommunity', 'jacl2db_admin', 'jauthdb_admin', 'master_admin')
coreLizmapModules
private
mixed
coreLizmapModules
= array('action', 'admin', 'admin_api', 'dataviz', 'filter', 'lizmap', 'proj4php', 'view')
Methods
compareLizmapCoreModulesVersions()
Compare the list of Lizmap core modules to a given version.
public
compareLizmapCoreModulesVersions(string $version) : bool
It returns True if all versions are the same within all Lizmap core modules. It means migrations are done correctly.
Parameters
- $version : string
Return values
boolgetList()
Get the list of installed modules with their metadata.
public
getList([bool $withExternalCore = false ][, bool $withLizmapCore = false ][, bool $withAdditional = true ]) : mixed
Parameters
- $withExternalCore : bool = false
-
Include or not core external modules (Jelix, JCommunity…). False by default.
- $withLizmapCore : bool = false
-
Include or not core Lizmap modules (Action, Dataviz…). False by default.
- $withAdditional : bool = true
-
Include or not Lizmap additional modules (AltiProfil, MapBuilder…). True by default.
Return values
mixed —The list of installed modules