dolibarr 18.0.6
mails_templates.php File Reference

Page to administer emails templates. More...

Go to the source code of this file.

Functions

 fieldList ($fieldlist, $obj='', $tabname='', $context='')
 Show fields in insert/edit mode.
 

Detailed Description

Page to administer emails templates.

Definition in file mails_templates.php.

Function Documentation

◆ fieldList()

fieldList ( $fieldlist,
$obj = '',
$tabname = '',
$context = '' )

Show fields in insert/edit mode.

Parameters
array$fieldlistArray of fields
Object$objIf we show a particular record, obj is filled with record fields
string$tabnameName of SQL table
string$context'add'=Output field for the "add form", 'edit'=Output field for the "edit form", 'hide'=Output field for the "add form" but we dont want it to be rendered
Returns
void

Definition at line 1338 of file mails_templates.php.

References getDolGlobalInt(), and GETPOST().