Module development: Difference between revisions

Jump to navigation Jump to search
Line 217: Line 217:
Then enter your code to display the page.
Then enter your code to display the page.


* To include a class dedicated to the module is done using a Dolibarr function (and not using directly include_once);
* To include a class dedicated to the module is done using a Dolibarr function (and not using directly include_once):
''Example :''
''Example :''
<source lang="php">
<source lang="php">
Line 223: Line 223:
</source>
</source>


* To include classes from dolibarr use the following syntax (module to core or core to core);
* To include classes provied with Dolibarr, use the following syntax:
''Example :''
''Example :''
<source lang="php">
<source lang="php">

Navigation menu