Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 3199 → Rev 3200

/trunk/widget/modules/saisie2/Saisie2.php
104,7 → 104,7
 
private function executerSaisie() {
$retour = '';
$retour = array();
$retour['squelette'] = 'saisie';
$retour['donnees']['general'] = I18n::get('General');
$retour['donnees']['aide'] = I18n::get('Aide');
117,7 → 117,7
/* Recherche si le projet existe sinon va chercher les infos de base */
private function rechercherProjet() {
// projet avec un squelette défini (et non juste un mot-clé d'observation)
$estProjetDefini = true; $tab = "";
$estProjetDefini = true; $tab = array();
$url = $this->config['manager']['celUrlTpl'].'?projet='.$this->parametres['projet'].'&langue='.$this->parametres['langue'];
$json = $this->getDao()->consulter($url);
if ($json == false) {
141,7 → 141,7
/* Recherche si un projet a des champs de saisie supplémentaire */
private function rechercherChampsSupp() {
$retour = "";
$retour = array();
$url = $this->config['manager']['celChpSupTpl'].'groupes?groupe='.$this->parametres['projet'].'&langue='.$this->parametres['langue'];
$json = $this->getDao()->consulter($url);
$tableau = (array) json_decode($json, true);