Work on import module

This commit is contained in:
Laurent Destailleur
2009-05-19 00:14:27 +00:00
parent 1af4674b5c
commit 8b12e7c07b
16 changed files with 903 additions and 870 deletions

View File

@@ -77,6 +77,8 @@ class ModeleExports
require_once($file);
$module = new $classname($db);
// Picto
$this->picto[$module->id]=$module->picto;
// Driver properties
$this->driverlabel[$module->id]=$module->getDriverLabel();
$this->driverversion[$module->id]=$module->getDriverVersion();
@@ -92,6 +94,14 @@ class ModeleExports
}
/**
* \brief Return picto of export driver
*/
function getPicto($key)
{
return $this->picto[$key];
}
/**
* \brief Renvoi libelle d'un driver export
*/