Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 197 Rev 201
Line 91... Line 91...
91
 
91
 
92
	public function getService($classe) {
92
	public function getService($classe) {
93
		$service = new $classe($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getBdd());
93
		$service = new $classe($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getBdd());
94
		if ($service instanceof NomDetails) {
94
		if ($service instanceof NomDetails) {
95
			$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
95
			$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
96
			$service->setChampsProjets($this->getParametreTableau('champsProjet'));
96
			$service->setChampsProjet($this->getParametreTableau('champsProjet'));
97
			$service->setOntologieHrefTpl($this->getParametre('ontologieHrefTpl'));
97
			$service->setOntologieHrefTpl($this->getParametre('ontologieHrefTpl'));
98
		} else if ($service instanceof NomsListe) {
98
		} else if ($service instanceof NomsListe) {
99
			$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
99
			$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
100
			$service->setListeUrl($this->getParametre('listeUrl'));
100
			$service->setListeUrl($this->getParametre('listeUrl'));