Language and development rules: Difference between revisions

Jump to navigation Jump to search
Line 196: Line 196:
== Working directory ==
== Working directory ==
If you need to create a working directory, into your code, refer to it with  
If you need to create a working directory, into your code, refer to it with  
DOL_DATA_ROOT.'/monmodule'
'''DOL_DATA_ROOT.'/monmodule''''


The directory can be created into your code by the following fnction:
The directory can be created into your code by the following fnction:
Line 204: Line 204:
</source>
</source>


If you need a directory to store temporary data, this directory must be DOL_DATA_ROOT.'/monmodule/temp'
If you need a directory to store temporary data, this directory must be '''DOL_DATA_ROOT.'/monmodule/temp''''


= Design patterns and Object programming =
= Design patterns and Object programming =

Navigation menu