Go to the documentation of this file.
28 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
50 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
89 $langs->load(
"ticket");
90 return $langs->trans(
"NoDescription");
101 $langs->load(
"ticket");
102 return $langs->trans(
"NoExample");
126 return $langs->trans(
"NotAvailable");
137 $langs->load(
"admin");
139 if ($this->version ==
'development') {
140 return $langs->trans(
"VersionDevelopment");
143 if ($this->version ==
'experimental') {
144 return $langs->trans(
"VersionExperimental");
147 if ($this->version ==
'dolibarr') {
151 if ($this->version) {
152 return $this->version;
155 return $langs->trans(
"NotAvailable");
getExample()
Return an example of numbering.
Classe mere des modeles de numerotation des references de projets.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
getNextValue($objsoc, $ticket)
Renvoi prochaine valeur attribuee.
info()
Returns the default description of the numbering pattern.
Parent class for documents models.
isEnabled()
Return if a module can be used or not.
getVersion()
Renvoi version du module numerotation.
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.
canBeActivated()
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
Parent class for documents generators.