dolibarr
x.y.z
|
Class to manage generation of HTML components for contract module. More...
Public Member Functions | |
__construct ($db) | |
Constructor. More... | |
select_contract ($socid=-1, $selected='', $htmlname='contrattid', $maxlength=16, $showempty=1, $showRef=0) | |
Show a combo list with contracts qualified for a third party. More... | |
formSelectContract ($page, $socid=-1, $selected='', $htmlname='contrattid', $maxlength=16, $showempty=1, $showRef=0) | |
Show a form to select a contract. More... | |
Class to manage generation of HTML components for contract module.
Definition at line 28 of file html.formcontract.class.php.
FormContract::__construct | ( | $db | ) |
FormContract::formSelectContract | ( | $page, | |
$socid = -1 , |
|||
$selected = '' , |
|||
$htmlname = 'contrattid' , |
|||
$maxlength = 16 , |
|||
$showempty = 1 , |
|||
$showRef = 0 |
|||
) |
Show a form to select a contract.
int | $page | Page |
int | $socid | Id third party (-1=all, 0=only contracts not linked to a third party, id=contracts not linked or linked to third party id) |
int | $selected | Id contract preselected |
string | $htmlname | Nom de la zone html |
int | $maxlength | Maximum length of label |
int | $showempty | Show empty line |
int | $showRef | Show customer and supplier reference on each contract (when found) |
Definition at line 182 of file html.formcontract.class.php.
FormContract::select_contract | ( | $socid = -1 , |
|
$selected = '' , |
|||
$htmlname = 'contrattid' , |
|||
$maxlength = 16 , |
|||
$showempty = 1 , |
|||
$showRef = 0 |
|||
) |
Show a combo list with contracts qualified for a third party.
int | $socid | Id third party (-1=all, 0=only contracts not linked to a third party, id=contracts not linked or linked to third party id) |
int | $selected | Id contract preselected |
string | $htmlname | Nom de la zone html |
int | $maxlength | Maximum length of label |
int | $showempty | Show empty line |
int | $showRef | Show customer and supplier reference on each contract (when found) |
Definition at line 64 of file html.formcontract.class.php.