Subversion Repositories eFlore/Applications.cel

Rev

Rev 3883 | Rev 3886 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3883 Rev 3884
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);