Line 112... |
Line 112... |
112 |
}
|
112 |
}
|
Line 113... |
Line 113... |
113 |
|
113 |
|
114 |
public function updateElement($uid,$params) {
|
114 |
public function updateElement($uid,$params) {
|
115 |
$retour = "";
|
115 |
$retour = "";
|
116 |
if (isset($params['projet']) && isset($params['langue'])) {
|
116 |
if (isset($params['projet']) && isset($params['langue'])) {
|
117 |
if (isset($requeteDonnees['champs-supp'])) {
|
117 |
if (isset($params['champs-supp'])) {
|
118 |
$gestionchamps = new GestionChampsEtendus2($this->config);
|
118 |
$gestionchamps = new GestionChampsEtendus2($this->config);
|
119 |
$champs = $this->traiterCorrespondanceChampsEtendusInterfaceBD($requeteDonnees); //var_dump($champs);exit;
|
119 |
$champs = $this->traiterCorrespondanceChampsEtendusInterfaceBD($params); //var_dump($champs);exit;
|
120 |
$liste = $gestionchamps->modifierParProjet($champs);
|
120 |
$liste = $gestionchamps->modifierParProjet($champs);
|
121 |
unset($requeteDonnees['champs-supp']);
|
121 |
unset($params['champs-supp']);
|
122 |
}
|
122 |
}
|
123 |
$manager = new GestionWidget($this->config);
|
123 |
$manager = new GestionWidget($this->config);
|
124 |
$params['est_type'] = (isset($params['est_type']) && $params['est_type']== "on") ? 1 : 0;
|
124 |
$params['est_type'] = (isset($params['est_type']) && $params['est_type']== "on") ? 1 : 0;
|
125 |
$requeteDonnees = $this->traiterCorresponceConfigWidgetInterfaceBD($params);
|
125 |
$requeteDonnees = $this->traiterCorresponceConfigWidgetInterfaceBD($params);
|