Subversion Repositories Applications.referentiel

Rev

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

Rev 58 Rev 70
Line 103... Line 103...
103
	 */
103
	 */
104
	protected function executerAction($ClasseModule, $action) {
104
	protected function executerAction($ClasseModule, $action) {
105
		$module = new $ClasseModule();
105
		$module = new $ClasseModule();
106
		$module->$action();
106
		$module->$action();
107
		$this->fusionnerSortie($module->getSortie());
107
		$this->fusionnerSortie($module->getSortie());
-
 
108
	}
-
 
109
	
-
 
110
	protected function executerActionReferentiel($ClasseModule, $action, $referentiel) {
-
 
111
		$module = new $ClasseModule();
-
 
112
		$module->$action($referentiel);
-
 
113
		$this->fusionnerSortie($module->getSortie());
Line 108... Line 114...
108
		
114
		
Line 109... Line 115...
109
	}
115
	}
110
	
116
	
Line 299... Line 305...
299
		$url = $this->url->getURL();
305
		$url = $this->url->getURL();
300
		$this->url->unsetVariablesRequete(array('module', 'id-r', 'ref'));
306
		$this->url->unsetVariablesRequete(array('module', 'id-r', 'ref'));
301
		return $url;
307
		return $url;
302
	}
308
	}
Line -... Line 309...
-
 
309
	
-
 
310
	protected function obtenirUrlRecherche($referentiel, $txt = null) {
-
 
311
		$this->url->setRequete(false);
-
 
312
		$this->url->setVariableRequete('ref', $referentiel);
-
 
313
		$this->url->setVariableRequete('module', 'Recherche');
-
 
314
		$this->url->setVariableRequete('action', 'rechercher');
-
 
315
		if (!is_null($txt)) {
-
 
316
			$this->url->setVariableRequete('recherche', $txt);
-
 
317
		}
-
 
318
		$url = $this->url->getURL();
-
 
319
		$this->url->unsetVariablesRequete(array('ref', 'module', 'action', 'recherche'));
-
 
320
		return $url;
-
 
321
	}
303
	
322
	
304
	/**
323
	/**
305
	 * Lance l'ajout d'un traitement
324
	 * Lance l'ajout d'un traitement
306
	 */
325
	 */
307
	protected function ajouterTraitement($referentiel_code, $script_nom) {
326
	protected function ajouterTraitement($referentiel_code, $script_nom) {