17require_once DOL_DOCUMENT_ROOT.
'/core/class/commondocgenerator.class.php';
31 public static function listModels($db, $maxfilenamelength = 0)
35 include_once DOL_DOCUMENT_ROOT.
'/core/lib/functions2.lib.php';
64 abstract public function writeFile(
$object, $outputlangs, $srctemplatepath =
'', $hidedetails = 0, $hidedesc = 0, $hideref = 0);
if(! $sortfield) if(! $sortorder) $object
Parent class for documents (PDF, ODT, ...) generators.
Base class for Salary PDF document models.
static listModels($db, $maxfilenamelength=0)
Return list of available salary PDF models.
static liste_modeles($db)
Legacy method required by Dolibarr PDF system Delegates to camelCase method.
writeFile($object, $outputlangs, $srctemplatepath='', $hidedetails=0, $hidedesc=0, $hideref=0)
Build the salary PDF document.
getListOfModels($db, $type, $maxfilenamelength=0, $showempty=0)
Return list of activated modules usable for document generation.