/trunk/jrest/bibliotheque/GestionMotsClesChemin.php |
---|
25,7 → 25,7 |
//TODO: trigger pour les tables liaisons |
public function GestionMotsClesChemin($config, $mode = 'obs') { |
public function __construct($config, $mode = 'obs') { |
$this->config = $config; |
//TODO: switch suivant mode |
$this->mode = $mode; |
/trunk/jrest/bibliotheque/GestionChampsEtendus2.php |
---|
23,7 → 23,7 |
"cet.extended_field_id, cet.`label`, cet.`description`, cet.`default_value`, cet.`error_message`, cet.`language_iso_code`, cet.`help` "; |
public function GestionChampsEtendus2($config) { |
public function __construct($config) { |
parent::__construct($config); |
} |
/trunk/jrest/bibliotheque/GenerateurPDF.php |
---|
25,7 → 25,7 |
public $pdf; |
function GenerateurPDF($utilisateur = NULL) { |
function __construct($utilisateur = NULL) { |
// create new PDF document |
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); |
/trunk/jrest/bibliotheque/GestionChampsEtendus.php |
---|
22,7 → 22,7 |
private $table_champs_etendus = null; |
private $champ_id = null; |
public function GestionChampsEtendus($config, $mode) { |
public function __construct($config, $mode) { |
parent::__construct($config); |
$this->mode = $mode; |
/trunk/jrest/bibliotheque/RechercheInfosTaxonBeta.php |
---|
36,7 → 36,7 |
// qui sont lourdes, et parfois identiques (cf cas de l'import XLS) |
static $cache = array(); |
public function RechercheInfosTaxonBeta($config, $code_referentiel = 'bdtfx') { |
public function __construct($config, $code_referentiel = 'bdtfx') { |
parent::__construct($config); |
$this->setReferentiel($code_referentiel); |
} |