Module development: Difference between revisions

Jump to navigation Jump to search
(→‎Specific descriptor module for version 3.3: Corrected the mistake about intra-module includes)
Line 64: Line 64:
}
}
</source>
</source>
Note: NEVER use a relative path like this: require '../class/myclass.php'; - your include won't work depending on where resides the executed script!


* The inclusion of a class dedicated to the module, without knowing from where the file will be called, is done using a function Dolibarr;
* The inclusion of a class dedicated to the module, without knowing from where the file will be called, is done using a function Dolibarr;
439

edits

Navigation menu