dolibarr 18.0.6
ModeleNumRefBarCode Class Reference

Parent class for barcode numbering models. More...

Inheritance diagram for ModeleNumRefBarCode:

Public Member Functions

 info ($langs)
 Return default description of numbering model.
 
 getNom ($langs)
 Return model name.
 
 getExample ($langs)
 Return a numbering example.
 
 getNextValue ($objproduct, $type='')
 Return next value available.
 
 getVersion ()
 Return version of module.
 
 getToolTip ($langs, $soc, $type)
 Return description of module parameters.
 

Detailed Description

Parent class for barcode numbering models.

Definition at line 53 of file modules_barcode.class.php.

Member Function Documentation

◆ getExample()

ModeleNumRefBarCode::getExample ( $langs)

Return a numbering example.

Parameters
Translate$langsObject langs
Returns
string Example

Definition at line 86 of file modules_barcode.class.php.

◆ getNextValue()

ModeleNumRefBarCode::getNextValue ( $objproduct,
$type = '' )

Return next value available.

Parameters
Product$objproductObject Product
string$typeType of barcode (EAN, ISBN, ...)
Returns
string Value

Reimplemented in mod_barcode_product_standard, and mod_barcode_thirdparty_standard.

Definition at line 99 of file modules_barcode.class.php.

Referenced by getToolTip().

◆ getNom()

ModeleNumRefBarCode::getNom ( $langs)

Return model name.

Parameters
Translate$langsObject langs
Returns
string Model name

Definition at line 76 of file modules_barcode.class.php.

References name.

Referenced by getToolTip().

◆ getToolTip()

ModeleNumRefBarCode::getToolTip ( $langs,
$soc,
$type )

Return description of module parameters.

Parameters
Translate$langsOutput language
Societe$socThird party object
int$type-1=Nothing, 0=Product, 1=Service
Returns
string HTML translated description

Definition at line 137 of file modules_barcode.class.php.

References getNextValue(), getNom(), getVersion(), name, and yn().

◆ getVersion()

ModeleNumRefBarCode::getVersion ( )

Return version of module.

Returns
string Version

Definition at line 109 of file modules_barcode.class.php.

Referenced by getToolTip().

◆ info()

ModeleNumRefBarCode::info ( $langs)

Return default description of numbering model.

Parameters
Translate$langsObject langs
Returns
string Descriptive text

Reimplemented in mod_barcode_product_standard, and mod_barcode_thirdparty_standard.

Definition at line 65 of file modules_barcode.class.php.


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