66,7 → 66,7 |
} |
return $this->partages['RessourcesVerificateur']; |
} |
|
|
public function getUrlFormatage() { |
if (!isset($this->partages['UrlFormatage'])){ |
$Bdd = $this->getBdd(); |
74,7 → 74,7 |
} |
return $this->partages['UrlFormatage']; |
} |
|
|
public function getRequetesAssemblage() { |
if (!isset($this->partages['RequetesAssemblage'])){ |
$this->partages['RequetesAssemblage'] = new RequetesAssemblage($this->getBdd()); |
81,8 → 81,8 |
} |
return $this->partages['RequetesAssemblage']; |
} |
|
|
|
public function getVersionVerificateur() { |
if (!isset($this->partages['VersionVerificateur'])){ |
$ressources = $this->getRessourcesUrl(); |
116,59 → 116,6 |
return $this->partages['Versions']; |
} |
|
public function getProjet() { |
if (!isset($this->partages['Projet'])){ |
$ressources = $this->getRessourcesUrl(); |
$projet = new Projet($ressources); |
$projet->setCheminBase($this->getParametre('cheminBase')); |
$projet->setCheminConfig($this->getParametre('chemin_configurations')); |
$projet->setCheminBiblio($this->getParametre('chemin_bibliotheque')); |
$projet->initialiser(); |
$projet->setParamsVerif($this->getParametresUrlVerificateur()); |
$projet->setRessourcesVerif($this->getRessourcesUrlVerificateur()); |
$projet->setVersionVerif($this->getVersionVerificateur()); |
$projet->setServiceGenerique($this->getServiceGenerique()); |
$this->partages['Projet'] = $projet; |
} |
return $this->partages['Projet']; |
} |
|
public function getNomDao() { |
$ressources = $this->getRessourcesUrl(); |
$parametres = $this->getParametresUrl(); |
$bdd = $this->getBdd(); |
$versions = $this->getVersions(); |
$nomDao = new NomDAO($ressources, $parametres, $bdd, $versions); |
return $nomDao; |
} |
|
public function getOntologiesDao() { |
$ressources = $this->getRessourcesUrl(); |
$parametres = $this->getParametresUrl(); |
$bdd = $this->getBdd(); |
$versions = $this->getVersions(); |
$ontologieDao = new OntologieDAO($ressources, $parametres, $bdd, $versions); |
return $ontologieDao; |
} |
|
public function getNomFormateur() { |
$formateur = new NomFormateur(); |
$formateur->setBdd($this->getBdd()); |
$formateur->setChampsProjet($this->getParametreTableau('champsProjet')); |
$formateur->setDetailsHrefTpl($this->getParametre('detailsHrefTpl')); |
$formateur->setOntologieHrefTpl($this->getParametre('ontologieHrefTpl')); |
return $formateur; |
} |
|
public function getOntologiesFormateur() { |
$formateur = new OntologieFormateur(); |
$formateur->setBdd($this->getBdd()); |
$formateur->setChampsProjet($this->getParametreTableau('champsProjet')); |
$formateur->setDetailsHrefTpl($this->getParametre('detailsHrefOntologiesTpl')); |
$formateur->setLangueDemandee($this->getParametresUrl()->get('retour.langue')); |
return $formateur; |
} |
|
public function getWikipediaBot($options = array()) { |
$wpBot = new WikipediaBot($options); |
return $wpBot; |