Changes

Jump to navigation Jump to search
Line 101: Line 101:  
== Extrafields ==
 
== Extrafields ==
 
See page [[Extrafields]]
 
See page [[Extrafields]]
 +
 +
== Other internal function ==
 +
There is a lot of internal libraries your code can use.
 +
You may find a lot of generic functions into files functions.lib.php or functions2.lib.php or admin.lib.php
 +
 +
'''To make a condition on Dolibarr version'''
 +
For example, to make a condition on Dolibarr > 3.5, you can use versioncompare and version_dolibarr found into admin.lib.php
 +
<source lang="php">
 +
if (versioncompare(version_dolibarr(), array(3,5,0)) > 0)
 +
{
 +
...
 +
}
 +
</source>
    
= Mass exports/imports =
 
= Mass exports/imports =

Navigation menu