3
edits
(→Squelettes de code: translated section to English. Should be fairly correct.) |
|||
| Line 124: | Line 124: | ||
{{ToTranslate}} | {{ToTranslate}} | ||
== | == Skeleton code == | ||
To standardize the code, and to speed up the development of new components in Dolibarr, you'll find 4 skeletons fully prepared in the directory '''dev/skeletons'''. | |||
* 1 | * 1 that serves as an example of the module description: '''myModule.class.php''' | ||
* 1 | * 1 that serves as an example of code for creating a new class: '''skeleton_class.class.php''' | ||
* 1 | * 1 that serves as an example of code for creating a new page: '''skeleton_page.php''' | ||
* 1 | * 1 that serves as an example of code for creating a script for executing command lines: '''skeleton_script.php''' | ||
Use it as an example. | |||
Note that the skeletons are also used by the PHP code generator, which is described in the development chapter of Dolibarr modules, to speed up your development. | |||
== Les dates et TimeZone == | == Les dates et TimeZone == | ||
edits