dolibarr 18.0.6
|
Class to manage generation of HTML components for contract module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
select_interventions ($socid=-1, $selected='', $htmlname='interventionid', $maxlength=16, $showempty=1, $draftonly=false) | |
Show a combo list with contracts qualified for a third party. | |
Class to manage generation of HTML components for contract module.
Definition at line 28 of file html.formintervention.class.php.
FormIntervention::__construct | ( | $db | ) |
Constructor.
Definition at line 46 of file html.formintervention.class.php.
FormIntervention::select_interventions | ( | $socid = -1, | |
$selected = '', | |||
$htmlname = 'interventionid', | |||
$maxlength = 16, | |||
$showempty = 1, | |||
$draftonly = false ) |
Show a combo list with contracts qualified for a third party.
int | $socid | Id third party (-1=all, 0=only interventions not linked to a third party, id=intervention not linked or linked to third party id) |
int | $selected | Id intervention preselected |
string | $htmlname | Nom de la zone html |
int | $maxlength | Maximum length of label |
int | $showempty | Show empty line ('1' or string to show for empty line) |
int | $draftonly | Show only drafts intervention |
Definition at line 64 of file html.formintervention.class.php.
References dol_print_error(), dol_syslog(), and dol_trunc().