Skip to content
Snippets Groups Projects
Commit 5e199875 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Show example of constant to enable Smarty

parent 2bc42090
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ class modMyModule extends DolibarrModules
// Constants
// Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',0),
// 1=>array('MYMODULE_MYNEWCONST2','chaine','myvalue','This is another constant to add',0) );
// 2=>array('MAIN_MODULE_MYMODULE_NEEDSMARTY','chaine',1,'Constant to say module need smarty',0)
$this->const = array(); // List of particular constants to add when module is enabled (key, 'chaine', value, desc, visible, 0 or 'allentities')
// Array to add new pages in new tabs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment