dolibarr  x.y.z
Public Member Functions | List of all members
ModeleImports Class Reference

Parent class for import file readers. More...

Inheritance diagram for ModeleImports:
Inheritance graph
[legend]

Public Member Functions

 __construct ()
 Constructor.
 
 getDriverId ()
 getDriverId More...
 
 getDriverLabel ()
 getDriverLabel More...
 
 getDriverDesc ()
 getDriverDesc More...
 
 getDriverExtension ()
 getDriverExtension More...
 
 getDriverVersion ()
 getDriverVersion More...
 
 getLibLabel ()
 getDriverLabel More...
 
 getLibVersion ()
 getLibVersion More...
 
 listOfAvailableImportFormat ($db, $maxfilenamelength=0)
 Load into memory list of available import format. More...
 
 getPictoForKey ($key)
 Return picto of import driver. More...
 
 getDriverLabelForKey ($key)
 Renvoi libelle d'un driver import. More...
 
 getDriverDescForKey ($key)
 Renvoi la description d'un driver import. More...
 
 getDriverVersionForKey ($key)
 Renvoi version d'un driver import. More...
 
 getLibLabelForKey ($key)
 Renvoi libelle de librairie externe du driver. More...
 
 getLibVersionForKey ($key)
 Renvoi version de librairie externe du driver. More...
 

Detailed Description

Parent class for import file readers.

Definition at line 31 of file modules_import.php.

Member Function Documentation

◆ getDriverDesc()

ModeleImports::getDriverDesc ( )

getDriverDesc

Returns
string Description

Definition at line 112 of file modules_import.php.

◆ getDriverDescForKey()

ModeleImports::getDriverDescForKey (   $key)

Renvoi la description d'un driver import.

Parameters
string$keyKey
Returns
string

Definition at line 233 of file modules_import.php.

◆ getDriverExtension()

ModeleImports::getDriverExtension ( )

getDriverExtension

Returns
string Driver suffix

Definition at line 122 of file modules_import.php.

◆ getDriverId()

ModeleImports::getDriverId ( )

getDriverId

Returns
string Id

Definition at line 92 of file modules_import.php.

◆ getDriverLabel()

ModeleImports::getDriverLabel ( )

getDriverLabel

Returns
string Label

Definition at line 102 of file modules_import.php.

◆ getDriverLabelForKey()

ModeleImports::getDriverLabelForKey (   $key)

Renvoi libelle d'un driver import.

Parameters
string$keyKey
Returns
string

Definition at line 222 of file modules_import.php.

◆ getDriverVersion()

ModeleImports::getDriverVersion ( )

getDriverVersion

Returns
string Driver version

Definition at line 132 of file modules_import.php.

◆ getDriverVersionForKey()

ModeleImports::getDriverVersionForKey (   $key)

Renvoi version d'un driver import.

Parameters
string$keyKey
Returns
string

Definition at line 244 of file modules_import.php.

◆ getLibLabel()

ModeleImports::getLibLabel ( )

getDriverLabel

Returns
string Label of external lib

Definition at line 142 of file modules_import.php.

◆ getLibLabelForKey()

ModeleImports::getLibLabelForKey (   $key)

Renvoi libelle de librairie externe du driver.

Parameters
string$keyKey
Returns
string

Definition at line 255 of file modules_import.php.

◆ getLibVersion()

ModeleImports::getLibVersion ( )

getLibVersion

Returns
string Version of external lib

Definition at line 152 of file modules_import.php.

◆ getLibVersionForKey()

ModeleImports::getLibVersionForKey (   $key)

Renvoi version de librairie externe du driver.

Parameters
string$keyKey
Returns
string

Definition at line 266 of file modules_import.php.

◆ getPictoForKey()

ModeleImports::getPictoForKey (   $key)

Return picto of import driver.

Parameters
string$keyKey
Returns
string

Definition at line 211 of file modules_import.php.

◆ listOfAvailableImportFormat()

ModeleImports::listOfAvailableImportFormat (   $db,
  $maxfilenamelength = 0 
)

Load into memory list of available import format.

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

Definition at line 165 of file modules_import.php.

References dol_syslog().


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