dolibarr  7.0.0-beta
Public Member Functions | List of all members
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. More...
 
 getNom ($langs)
 Return model name. More...
 
 getExample ($langs)
 Return a numbering example. More...
 
 getNextValue ($objproduct, $type='')
 Return next value available. More...
 
 getVersion ()
 Return version of module. More...
 
 getToolTip ($langs, $soc, $type)
 Return description of module parameters. More...
 

Detailed Description

Parent class for barcode numbering models.

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

Member Function Documentation

ModeleNumRefBarCode::getExample (   $langs)

Return a numbering example.

Parameters
Translate$langsObject langs
Returns
string Example

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

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

Return next value available.

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

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

Referenced by getToolTip().

ModeleNumRefBarCode::getNom (   $langs)

Return model name.

Parameters
Translate$langsObject langs
Returns
string Model name

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

References name.

Referenced by 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 124 of file modules_barcode.class.php.

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

ModeleNumRefBarCode::getVersion ( )

Return version of module.

Returns
string Version

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

Referenced by getToolTip().

ModeleNumRefBarCode::info (   $langs)

Return default description of numbering model.

Parameters
Translate$langsObject langs
Returns
string Descriptive text

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


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