dolibarr  21.0.0-alpha
Public Member Functions | List of all members
mod_expedition_ribera Class Reference

Class to manage expedition numbering rules Ribera. More...

Inheritance diagram for mod_expedition_ribera:
Inheritance graph
Collaboration diagram for mod_expedition_ribera:
Collaboration graph

Public Member Functions

 info ($langs)
 Return default description of numbering model. More...
 getExample ()
 Return numbering example. More...
 getNextValue ($objsoc, $shipment)
 Return next value. More...
- Public Member Functions inherited from CommonNumRefGenerator
 getNom ($langs)
 Return model name. More...
 getName ($langs)
 Return model name. More...
 isEnabled ()
 Return if a module can be used or not. More...
 canBeActivated ($object)
 Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. More...
 getVersion ()
 Returns version of numbering module. More...

Detailed Description

Class to manage expedition numbering rules Ribera.

Definition at line 31 of file mod_expedition_ribera.php.

Member Function Documentation

◆ getExample()

mod_expedition_ribera::getExample ( )

Return numbering example.

string Example

Definition at line 98 of file mod_expedition_ribera.php.

◆ getNextValue()

mod_expedition_ribera::getNextValue (   $objsoc,

Return next value.

Societe$objsocThird party object
Expedition$shipmentShipment object
string|0 Value if OK, 0 if KO

Definition at line 123 of file mod_expedition_ribera.php.

◆ info()

mod_expedition_ribera::info (   $langs)

Return default description of numbering model.

Translate$langsLang object to use for output
string Descriptive text

Reimplemented from CommonNumRefGenerator.

Definition at line 62 of file mod_expedition_ribera.php.

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