Go to the documentation of this file.
26 require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
109 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
151 $langs->load(
"projects");
152 return $langs->trans(
"NoDescription");
163 $langs->load(
"projects");
164 return $langs->trans(
"NoExample");
188 return $langs->trans(
"NotAvailable");
199 $langs->load(
"admin");
201 if ($this->version ==
'development') {
202 return $langs->trans(
"VersionDevelopment");
203 } elseif ($this->version ==
'experimental') {
204 return $langs->trans(
"VersionExperimental");
205 } elseif ($this->version ==
'dolibarr') {
207 } elseif ($this->version) {
208 return $this->version;
210 return $langs->trans(
"NotAvailable");
getNextValue($objsoc, $project)
Renvoi prochaine valeur attribuee.
static liste_modeles($db, $maxfilenamelength=0)
Return list of active generation modules.
getExample()
Return an example of numbering.
Classe mere des modeles de numerotation des references de projets.
isEnabled()
Return if a module can be used or not.
canBeActivated()
Checks if the numbers already in the database do not cause conflicts that would prevent this numberin...
getListOfModels($db, $type, $maxfilenamelength=0)
Return list of activated modules usable for document generation.
getVersion()
Renvoi version du module numerotation.
info()
Returns the default description of the numbering pattern.
Parent class for documents generators.
Parent class for projects models.