dolibarr 20.0.0
mails_templates.php File Reference

Page to administer emails templates. More...

Go to the source code of this file.

Functions

 fieldList ($fieldlist, $obj=null, $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 = null,
$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", 'preview'=show in readonly the template, 'hide'=Output field for the "add form" but we don't want it to be rendered
Returns
void

Definition at line 1385 of file mails_templates.php.

References getDolGlobalInt(), GETPOST(), and GETPOSTINT().