dolibarr
x.y.z
|
Set of function for modulebuilder management. More...
Go to the source code of this file.
Functions | |
rebuildObjectClass ($destdir, $module, $objectname, $newmask, $readdir='', $addfieldentry=array(), $delfieldentry='') | |
Regenerate files .class.php. More... | |
rebuildObjectSql ($destdir, $module, $objectname, $newmask, $readdir='', $object=null, $moduletype='external') | |
Save data into a memory area shared by all users, all sessions on server. More... | |
Set of function for modulebuilder management.
Definition in file modulebuilder.lib.php.
rebuildObjectClass | ( | $destdir, | |
$module, | |||
$objectname, | |||
$newmask, | |||
$readdir = '' , |
|||
$addfieldentry = array() , |
|||
$delfieldentry = '' |
|||
) |
Regenerate files .class.php.
string | $destdir | Directory |
string | $module | Module name |
string | $objectname | Name of object |
string | $newmask | New mask |
string | $readdir | Directory source (use $destdir when not defined) |
string | $addfieldentry | Array of 1 field entry to add array('key'=>,'type'=>,''label'=>,'visible'=>,'enabled'=>,'position'=>,'notnull'=>','index'=>,'searchall'=>,'comment'=>,'help'=>,'isameasure') |
string | $delfieldentry | Id of field to remove |
Definition at line 38 of file modulebuilder.lib.php.
rebuildObjectSql | ( | $destdir, | |
$module, | |||
$objectname, | |||
$newmask, | |||
$readdir = '' , |
|||
$object = null , |
|||
$moduletype = 'external' |
|||
) |
Save data into a memory area shared by all users, all sessions on server.
string | $destdir | Directory |
string | $module | Module name |
string | $objectname | Name of object |
string | $newmask | New mask |
string | $readdir | Directory source (use $destdir when not defined) |
Object | $object | If object was already loaded/known, it is pass to avoid another include and new. |
string | $moduletype | 'external' or 'internal' |
Definition at line 255 of file modulebuilder.lib.php.