28 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
52 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
88 $langs->load(
"ticket");
89 return $langs->trans(
"NoDescription");
100 $langs->load(
"ticket");
101 return $langs->trans(
"NoExample");
125 return $langs->trans(
"NotAvailable");
136 $langs->load(
"admin");
138 if ($this->version ==
'development') {
139 return $langs->trans(
"VersionDevelopment");
142 if ($this->version ==
'experimental') {
143 return $langs->trans(
"VersionExperimental");
146 if ($this->version ==
'dolibarr') {
150 if ($this->version) {
151 return $this->version;
154 return $langs->trans(
"NotAvailable");
Classe mere des modeles de numerotation des references de projets.
canBeActivated()
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
getNextValue($objsoc, $project)
Renvoi prochaine valeur attribuee.
getExample()
Return an example of numbering.
isEnabled()
Return if a module can be used or not.
info()
Renvoi la description par defaut du modele de numerotation.
getVersion()
Renvoi version du module numerotation.
Parent class for documents generators.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.
Parent class for documents models.