|
dolibarr
x.y.z
|
Class to manage barcode HTML. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| setBarcodeEncoder ($selected, $barcodelist, $code_id, $idForm='formbarcode') | |
| Return HTML select with list of bar code generators. More... | |
| select_barcode_type ($selected='', $htmlname='barcodetype_id', $useempty=0) | |
| Print form to select type of barcode. More... | |
| selectBarcodeType ($selected='', $htmlname='barcodetype_id', $useempty=0) | |
| Return html form to select type of barcode. More... | |
| form_barcode_type ($page, $selected='', $htmlname='barcodetype_id') | |
| Show form to select type of barcode. More... | |
| formBarcodeType ($page, $selected='', $htmlname='barcodetype_id') | |
| Return html form to select type of barcode. More... | |
Class to manage barcode HTML.
Definition at line 30 of file html.formbarcode.class.php.
| FormBarCode::__construct | ( | $db | ) |
| FormBarCode::form_barcode_type | ( | $page, | |
$selected = '', |
|||
$htmlname = 'barcodetype_id' |
|||
| ) |
Show form to select type of barcode.
| string | $page | Page |
| int | $selected | Id condition preselected |
| string | $htmlname | Nom du formulaire select |
Definition at line 190 of file html.formbarcode.class.php.
| FormBarCode::formBarcodeType | ( | $page, | |
$selected = '', |
|||
$htmlname = 'barcodetype_id' |
|||
| ) |
Return html form to select type of barcode.
| string | $page | Page |
| int | $selected | Id condition preselected |
| string | $htmlname | Nom du formulaire select |
Definition at line 204 of file html.formbarcode.class.php.
| FormBarCode::select_barcode_type | ( | $selected = '', |
|
$htmlname = 'barcodetype_id', |
|||
$useempty = 0 |
|||
| ) |
Print form to select type of barcode.
| int | $selected | Id code pre-selected |
| string | $htmlname | Name of HTML select field |
| int | $useempty | Affiche valeur vide dans liste |
Definition at line 121 of file html.formbarcode.class.php.
| FormBarCode::selectBarcodeType | ( | $selected = '', |
|
$htmlname = 'barcodetype_id', |
|||
$useempty = 0 |
|||
| ) |
Return html form to select type of barcode.
| int | $selected | Id code pre-selected |
| string | $htmlname | Name of HTML select field |
| int | $useempty | Display empty value in select |
Definition at line 135 of file html.formbarcode.class.php.
| FormBarCode::setBarcodeEncoder | ( | $selected, | |
| $barcodelist, | |||
| $code_id, | |||
$idForm = 'formbarcode' |
|||
| ) |
Return HTML select with list of bar code generators.
| int | $selected | Id code pre-selected |
| array | $barcodelist | Array of barcodes generators |
| int | $code_id | Id du code barre |
| int | $idForm | Id du formulaire |
Definition at line 63 of file html.formbarcode.class.php.