dolibarr  21.0.0-alpha
Public Member Functions | Static Public Member Functions | List of all members
PrintingDriver Class Reference

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

Inheritance diagram for PrintingDriver:
Inheritance graph
[legend]

Public Member Functions

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

Static Public Member Functions

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

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_printipp, and printing_printgcp.

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.


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