dolibarr  9.0.0
Public Member Functions | List of all members
ModeleExports Class Reference

Parent class for export modules. More...

+ Inheritance diagram for ModeleExports:
+ Collaboration diagram for ModeleExports:

Public Member Functions

 liste_modeles ($db, $maxfilenamelength=0)
 Load into memory list of available export format. More...
 
 getPictoForKey ($key)
 Return picto of export driver. More...
 
 getDriverLabelForKey ($key)
 Renvoi libelle d'un driver export. More...
 
 getDriverDescForKey ($key)
 Renvoi le descriptif d'un driver export. More...
 
 getDriverVersionForKey ($key)
 Renvoi version d'un driver export. More...
 
 getLibLabelForKey ($key)
 Renvoi libelle de librairie externe du driver. More...
 
 getLibVersionForKey ($key)
 Renvoi version de librairie externe du driver. More...
 
- Public Member Functions inherited from CommonDocGenerator
 __construct ($db)
 Constructor. More...
 
 get_substitutionarray_user ($user, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_mysoc ($mysoc, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_thirdparty ($object, $outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_contact ($object, $outputlangs, $array_key='object')
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_other ($outputlangs)
 Define array with couple subtitution key => subtitution value. More...
 
 get_substitutionarray_object ($object, $outputlangs, $array_key='object')
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_lines ($line, $outputlangs)
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_shipment ($object, $outputlangs, $array_key='object')
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_shipment_lines ($line, $outputlangs)
 Define array with couple substitution key => substitution value. More...
 
 get_substitutionarray_each_var_object (&$object, $outputlangs, $recursive=true)
 Define array with couple subtitution key => subtitution value. More...
 
 fill_substitutionarray_with_extrafields ($object, $array_to_fill, $extrafields, $array_key, $outputlangs)
 Fill array with couple extrafield key => extrafield value. More...
 
 printRect ($pdf, $x, $y, $l, $h, $hidetop=0, $hidebottom=0)
 Rect pdf. More...
 
 columnSort ($a, $b)
 uasort callback function to Sort colums fields More...
 
 prepareArrayColumnField ($object, $outputlangs, $hidedetails=0, $hidedesc=0, $hideref=0)
 Prepare Array Column Field. More...
 
 getColumnContentWidth ($colKey)
 get column content width from column key More...
 
 getColumnContentXStart ($colKey)
 get column content X (abscissa) left position from column key More...
 
 getColumnRank ($colKey)
 get column position rank from column key More...
 
 insertNewColumnDef ($newColKey, $defArray, $targetCol=false, $insertAfterTarget=false)
 get column position rank from column key More...
 
 printStdColumnContent ($pdf, &$curY, $colKey, $columnText='')
 print standard column content More...
 
 getColumnStatus ($colKey)
 get column status from column key More...
 

Detailed Description

Parent class for export modules.

Definition at line 31 of file modules_export.php.

Member Function Documentation

◆ getDriverDescForKey()

ModeleExports::getDriverDescForKey (   $key)

Renvoi le descriptif d'un driver export.

Parameters
string$keyKey of driver
Returns
string Description

Definition at line 132 of file modules_export.php.

◆ getDriverLabelForKey()

ModeleExports::getDriverLabelForKey (   $key)

Renvoi libelle d'un driver export.

Parameters
string$keyKey of driver
Returns
string Label

Definition at line 121 of file modules_export.php.

◆ getDriverVersionForKey()

ModeleExports::getDriverVersionForKey (   $key)

Renvoi version d'un driver export.

Parameters
string$keyKey of driver
Returns
string Driver version

Definition at line 143 of file modules_export.php.

◆ getLibLabelForKey()

ModeleExports::getLibLabelForKey (   $key)

Renvoi libelle de librairie externe du driver.

Parameters
string$keyKey of driver
Returns
string Label of library

Definition at line 154 of file modules_export.php.

◆ getLibVersionForKey()

ModeleExports::getLibVersionForKey (   $key)

Renvoi version de librairie externe du driver.

Parameters
string$keyKey of driver
Returns
string Version of library

Definition at line 165 of file modules_export.php.

◆ getPictoForKey()

ModeleExports::getPictoForKey (   $key)

Return picto of export driver.

Parameters
string$keyKey of driver
Returns
string Picto string

Definition at line 110 of file modules_export.php.

◆ liste_modeles()

ModeleExports::liste_modeles (   $db,
  $maxfilenamelength = 0 
)

Load into memory list of available export format.

Parameters
DoliDB$dbDatabase handler
integer$maxfilenamelengthMax length of value to show
Returns
array List of templates (same content than array this->driverlabel)

Definition at line 55 of file modules_export.php.

References dol_syslog().


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