Subversion Repositories Applications.referentiel

Rev

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

Rev 199 Rev 212
Line 17... Line 17...
17
// +-------------------------------------------------------------------------------------------------------------------+
17
// +-------------------------------------------------------------------------------------------------------------------+
18
// TODO : supprimer l'utilisation du paramĂȘtres 'p' et chercher les infos depuis la bdd
18
// TODO : supprimer l'utilisation du paramĂȘtres 'p' et chercher les infos depuis la bdd
19
class Tests extends ScriptCommande {
19
class Tests extends ScriptCommande {
Line 20... Line 20...
20
	
20
	
-
 
21
	const SCRIPT_NOM = 'tests';
Line 21... Line 22...
21
	const SCRIPT_NOM = 'tests';
22
	const MANUEL_VERSION = '4.2';
22
	
23
	
Line 23... Line 24...
23
	private $projet = null;
24
	private $projet = null;
-
 
25
	private $traitement = null;
-
 
26
	
24
	private $traitement = null;
27
	private $manuel = null;
25
	
28
	private $manuel_nom = null;
26
	private $manuel = null;
29
	private $manuel_chemin = null;
27
	private $tests = null;
30
	private $tests = null;
Line 33... Line 36...
33
	private $traitementDao = null;
36
	private $traitementDao = null;
34
	private $tableStructureDao = null;
37
	private $tableStructureDao = null;
35
	private $referentielDao = null;
38
	private $referentielDao = null;
Line 36... Line 39...
36
	
39
	
-
 
40
	public function executer() {
37
	public function executer() {
41
		$this->manuel_nom = 'mtpr_v'.str_replace('.', '_', self::MANUEL_VERSION).'.pdf';
-
 
42
		$this->manuel_chemin = Config::get('chemin_appli').DS.'..'.DS.'configurations'.DS;
-
 
43
		
-
 
44
		$manuel_config_nom = 'referentiel_v'.self::MANUEL_VERSION.'.ini';
-
 
45
		$this->manuel = parse_ini_file($this->manuel_chemin.$manuel_config_nom);
38
		$this->manuel = parse_ini_file(Config::get('chemin_appli').DS.'..'.DS.'configurations'.DS.'referentiel_v4.2.ini');
46
		
39
		$this->definirConstantes();
47
		$this->definirConstantes();
Line 40... Line 48...
40
		$this->tests = parse_ini_file($this->getModuleChemin().DS.'configurations'.DS.'tests.ini', true);
48
		$this->tests = parse_ini_file($this->getModuleChemin().DS.'configurations'.DS.'tests.ini', true);
41
		
49