ALite CMS 44.2
Language: 
ALite CMS

System News

Constants and language resources in modules

30.12.2019 16:40  rating: 5 

Added the ability to declare (overlap) constants and language resources in modules.

Constants and language resources declared in modules are automatically loaded only if a module class exists. If there is no module class or you need to load the constants and language resources of the module separately, then you can use the following function:
$alc_controller->module_get_resources('module_name');

Tags: #Modules
RSS  RSS