dolibarr 20.0.0
PrintingDriver Class Reference

Parent class of emailing target selectors modules. More...

Inheritance diagram for PrintingDriver:

Public Member Functions

 __construct ($db)
 Constructor.
 
 getDesc ()
 Return description of Printing Module.
 

Static Public Member Functions

static listDrivers ($db, $maxfilenamelength=0)
 Return list of printing driver.
 

Detailed Description

Parent class of emailing target selectors modules.

Definition at line 33 of file modules_printing.php.

Constructor & Destructor Documentation

◆ __construct()

PrintingDriver::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Reimplemented in printing_printgcp, and printing_printipp.

Definition at line 65 of file modules_printing.php.

Member Function Documentation

◆ getDesc()

PrintingDriver::getDesc ( )

Return description of Printing Module.

Returns
string Return translation of key PrintingModuleDescXXX where XXX is module name, or $this->desc if not exists

Definition at line 107 of file modules_printing.php.

◆ listDrivers()

static PrintingDriver::listDrivers ( $db,
$maxfilenamelength = 0 )
static

Return list of printing driver.

Parameters
DoliDB$dbDatabase handler
int$maxfilenamelengthMax length of value to show
Returns
array<string,string> List of drivers

Definition at line 77 of file modules_printing.php.

References dol_buildpath(), and dol_dir_list().


The documentation for this class was generated from the following file: