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

Parent class for import file readers. More...

+ Inheritance diagram for ModeleImports:

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...
 
 liste_modeles ($db, $maxfilenamelength=0)
 Charge en memoire et renvoie la liste des modeles actifs. 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...
 

Public Attributes

 $version = 'dolibarr'
 Dolibarr version of driver string.
 

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 238 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 227 of file modules_import.php.

◆ getDriverVersion()

ModeleImports::getDriverVersion ( )

getDriverVersion

Returns
string Driver version

Definition at line 132 of file modules_import.php.

References $version.

◆ getDriverVersionForKey()

ModeleImports::getDriverVersionForKey (   $key)

Renvoi version d'un driver import.

Parameters
string$keyKey
Returns
string

Definition at line 249 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 260 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 271 of file modules_import.php.

◆ getPictoForKey()

ModeleImports::getPictoForKey (   $key)

Return picto of import driver.

Parameters
string$keyKey
Returns
string

Definition at line 216 of file modules_import.php.

◆ liste_modeles()

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

Charge en memoire et renvoie la liste des modeles actifs.

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

Definition at line 166 of file modules_import.php.

References dol_syslog().


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