dolibarr 20.0.0
FormPropal Class Reference

Class to manage generation of HTML components for proposal management. More...

Public Member Functions

 __construct ($db)
 Constructor.
 
 selectProposalStatus ($selected='', $short=0, $excludedraft=0, $showempty=1, $mode='customer', $htmlname='propal_statut', $morecss='')
 Return combo list of different statuses of a proposal Values are id of table c_propalst.
 

Detailed Description

Class to manage generation of HTML components for proposal management.

Definition at line 29 of file html.formpropal.class.php.

Constructor & Destructor Documentation

◆ __construct()

FormPropal::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 47 of file html.formpropal.class.php.

Member Function Documentation

◆ selectProposalStatus()

FormPropal::selectProposalStatus ( $selected = '',
$short = 0,
$excludedraft = 0,
$showempty = 1,
$mode = 'customer',
$htmlname = 'propal_statut',
$morecss = '' )

Return combo list of different statuses of a proposal Values are id of table c_propalst.

Parameters
string$selectedPreselected value
int$shortUse short labels
int$excludedraft0=All status, 1=Exclude draft status
int$showempty1=Add empty line
string$mode'customer', 'supplier'
string$htmlnameName of select field
string$morecssMore css
Returns
void

Definition at line 65 of file html.formpropal.class.php.

References ajax_combobox(), dol_print_error(), and dol_syslog().


The documentation for this class was generated from the following file: