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