Subversion Repositories Applications.gtt

Rev

Rev 147 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 154
Line 10... Line 10...
10
	{
10
	{
11
		$this->url_action = $action;
11
		$this->url_action = $action;
12
		$this->url_format = $format;
12
		$this->url_format = $format;
13
		$this->url_sortie = $sortie;
13
		$this->url_sortie = $sortie;
14
	}
14
	}
15
	
15
 
16
	public function getRegistre()
16
	public function getRegistre()
17
	{
17
	{
18
		return Registre::getRegistre();
18
		return Registre::getRegistre();
19
	}
19
	}
Line 65... Line 65...
65
    	$classe_action = $tab_info_url['classe_action'];
65
    	$classe_action = $tab_info_url['classe_action'];
66
    	$fichier_action = GTT_CHEMIN_ACTION.$classe_action.'.class.php';
66
    	$fichier_action = GTT_CHEMIN_ACTION.$classe_action.'.class.php';
67
    	if (file_exists($fichier_action)) {
67
    	if (file_exists($fichier_action)) {
68
			require_once $fichier_action;
68
			require_once $fichier_action;
69
			$Action = new $classe_action($this->getRegistre());
69
			$Action = new $classe_action($this->getRegistre());
70
			$this->chargerActionGenerique(&$tab_info_url['tab_actions']);
70
			$this->chargerActionGenerique($tab_info_url['tab_actions']);
71
			$Action->setSuivant($tab_info_url['tab_actions']);
71
			$Action->setSuivant($tab_info_url['tab_actions']);
72
			$Action->demarrer();
72
			$Action->demarrer();
73
			if ($this->url_format == 'html') {
73
			if ($this->url_format == 'html') {
74
				$aso_principal['principal'] = $this->rendre();
74
				$aso_principal['principal'] = $this->rendre();
75
				//echo '<pre>'.print_r($aso_principal, true).'</pre>';
75
				//echo '<pre>'.print_r($aso_principal, true).'</pre>';