dolibarr  7.0.0-beta
Public Member Functions | List of all members
FormPropal Class Reference

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

Public Member Functions

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

Detailed Description

Class to manage generation of HTML components for proposal management.

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

Constructor & Destructor Documentation

FormPropal::__construct (   $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

Member Function Documentation

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

Return combo list of differents status 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
Returns
void

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

References $resql, dol_print_error(), dol_syslog(), and print.


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