|
dolibarr 21.0.0-beta
|
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. | |
Page to administer emails templates.
Definition in file mails_templates.php.
| fieldList | ( | $fieldlist, | |
| $obj = null, | |||
| $tabname = '', | |||
| $context = '' ) |
Show fields in insert/edit mode.
| array<int|string,null|int|float|string> | $fieldlist Array of fields and their values | |
| ?Object | $obj | If we show a particular record, obj is filled with record fields |
| string | $tabname | Name 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 |
Definition at line 1400 of file mails_templates.php.
References $context, getDolGlobalInt(), GETPOST(), and GETPOSTINT().