dolibarr 18.0.6
|
Parent class for third parties code generators. More...
Public Member Functions | |
info ($langs) | |
Returns the default description of the numbering pattern. | |
getNom ($langs) | |
Return name of module. | |
getExample ($langs) | |
Return an example of numbering. | |
canBeActivated () | |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working. | |
getNextValue ($objsoc=0, $type=-1) | |
Return next value available. | |
getVersion () | |
Return version of module. | |
getToolTip ($langs, $soc, $type) | |
Return description of module parameters. | |
verif_prefixIsUsed () | |
Check if mask/numbering use prefix. | |
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 64 of file modules_societe.class.php.
ModeleThirdPartyCode::canBeActivated | ( | ) |
Checks if the numbers already in the database do not cause conflicts that would prevent this numbering working.
Definition at line 116 of file modules_societe.class.php.
ModeleThirdPartyCode::getExample | ( | $langs | ) |
Return an example of numbering.
Translate | $langs | Object langs |
Definition at line 104 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 128 of file modules_societe.class.php.
Referenced by getToolTip().
ModeleThirdPartyCode::getNom | ( | $langs | ) |
Return name of module.
Translate | $langs | Object langs |
Definition at line 93 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 195 of file modules_societe.class.php.
References getNextValue(), getNom(), getVersion(), and yn().
ModeleThirdPartyCode::getVersion | ( | ) |
Return version of module.
Definition at line 140 of file modules_societe.class.php.
Referenced by getToolTip().
ModeleThirdPartyCode::info | ( | $langs | ) |
Returns the default description of the numbering pattern.
Translate | $langs | Object langs |
Reimplemented in mod_codeclient_elephant, mod_codeclient_leopard, and mod_codeclient_monkey.
Definition at line 82 of file modules_societe.class.php.
|
static |
Renvoie la liste des modeles de numérotation.
Definition at line 166 of file modules_societe.class.php.
ModeleThirdPartyCode::verif_prefixIsUsed | ( | ) |
Check if mask/numbering use prefix.
Reimplemented in mod_codeclient_elephant.
Definition at line 265 of file modules_societe.class.php.