dolibarr  7.0.0-beta
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...
 

Detailed Description

Parent class for export modules.

Definition at line 31 of file modules_export.php.

Member Function Documentation

ModeleExports::getDriverDescForKey (   $key)

Renvoi le descriptif d'un driver export.

Parameters
string$keyKey of driver
Returns
string Description

Definition at line 126 of file modules_export.php.

ModeleExports::getDriverLabelForKey (   $key)

Renvoi libelle d'un driver export.

Parameters
string$keyKey of driver
Returns
string Label

Definition at line 115 of file modules_export.php.

ModeleExports::getDriverVersionForKey (   $key)

Renvoi version d'un driver export.

Parameters
string$keyKey of driver
Returns
string Driver version

Definition at line 137 of file modules_export.php.

ModeleExports::getLibLabelForKey (   $key)

Renvoi libelle de librairie externe du driver.

Parameters
string$keyKey of driver
Returns
string Label of library

Definition at line 148 of file modules_export.php.

ModeleExports::getLibVersionForKey (   $key)

Renvoi version de librairie externe du driver.

Parameters
string$keyKey of driver
Returns
string Version of library

Definition at line 159 of file modules_export.php.

ModeleExports::getPictoForKey (   $key)

Return picto of export driver.

Parameters
string$keyKey of driver
Returns
string Picto string

Definition at line 104 of file modules_export.php.

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 49 of file modules_export.php.

References dol_syslog().

Referenced by FormFile\showdocuments().


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