dolibarr 19.0.3
|
Parent class for third parties code generators. More...
Public Member Functions | |
getNextValue ($objsoc=0, $type=-1) | |
Return next value available. | |
getToolTip ($langs, $soc, $type) | |
Return description of module parameters. | |
verif_prefixIsUsed () | |
Check if mask/numbering use prefix. | |
Public Member Functions inherited from CommonNumRefGenerator | |
getNom ($langs) | |
Return model name TODO Replace with getName() | |
getName ($langs) | |
Return model name. | |
isEnabled () | |
Return if a module can be used or not. | |
info ($langs) | |
Returns the default description of the numbering template. | |
canBeActivated ($object) | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getVersion () | |
Returns version of numbering module. | |
Static Public Member Functions | |
static | liste_modeles ($dbs, $maxfilenamelength=0) |
Renvoie la liste des modeles de numérotation. | |
Parent class for third parties code generators.
Definition at line 60 of file modules_societe.class.php.
ModeleThirdPartyCode::getNextValue | ( | $objsoc = 0, | |
$type = -1 ) |
Return next value available.
Societe | $objsoc | Object thirdparty |
int | $type | Type |
Reimplemented in mod_codeclient_elephant, mod_codeclient_leopard, and mod_codeclient_monkey.
Definition at line 87 of file modules_societe.class.php.
Referenced by getToolTip().
ModeleThirdPartyCode::getToolTip | ( | $langs, | |
$soc, | |||
$type ) |
Return description of module parameters.
Translate | $langs | Output language |
Societe | $soc | Third party object |
int | $type | -1=Nothing, 0=Customer, 1=Supplier |
Definition at line 130 of file modules_societe.class.php.
References getDolGlobalString(), getNextValue(), CommonNumRefGenerator\getNom(), CommonNumRefGenerator\getVersion(), and yn().
|
static |
Renvoie la liste des modeles de numérotation.
Definition at line 101 of file modules_societe.class.php.
ModeleThirdPartyCode::verif_prefixIsUsed | ( | ) |
Check if mask/numbering use prefix.
Reimplemented in mod_codeclient_elephant.
Definition at line 200 of file modules_societe.class.php.