dolibarr 19.0.3
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 32 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 64 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 106 of file modules_printing.php.

◆ listDrivers()

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

Return list of printing driver.

Parameters
DoliDB$dbDatabase handler
integer$maxfilenamelengthMax length of value to show
Returns
array List of drivers

Definition at line 76 of file modules_printing.php.

References dol_buildpath(), and dol_dir_list().


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