Module development: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 24: Line 24:


* all "modMyModule" with a value which corresponds to the vocation of your module. This value must always start with 'mod'.
* all "modMyModule" with a value which corresponds to the vocation of your module. This value must always start with 'mod'.
WARNING: The MyModule '''MUST''' be set to a serie of alpha character, but '''the only character permit are [A-Za-z] and the MAX len of the XXX is 12 characters'''. In the 2.9 version will be add the support of the character "_" in the class name and the character permit will be [A-Za-z_].
WARNING: The MyModule must be set to a serie of alpha character, but '''the only character permit are [A-Za-z] and the maximum length of the MyModule is 12 characters'''.
* $this->numero = 10000 by a number of free module (Go to '''Home page -> System Information -> Dolibarr -> Modules''' to know id the list of modules used).
* $this->numero = 10000 by a number of free module (Go to '''Home page -> System Information -> Dolibarr -> Modules''' to know id the list of modules used).
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  
* Modify any other variables defined in the constructor (see comment in the code skeleton for their meaning).  

Navigation menu