Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 921 → Rev 922

/trunk/services/bibliotheque/Versions.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/decorateurs/OntologieChampsProjetDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/decorateurs/OntologieDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/decorateurs/OntologieResponsabilite.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/OntologieDO.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/OntologieDAO.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ontologie/OntologieFormateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Requete.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/ParametresVerificateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/RequetesAssemblage.php
File deleted
/trunk/services/bibliotheque/interfaces/NomsListe.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/interfaces/NomDetails.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/interfaces/OntologiesListe.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Ressources.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/generique/NomsListeGenerique.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/generique/TaxonsListeGenerique.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/generique/NomDetailsGenerique.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/generique/OntologiesListeGenerique.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/VersionVerificateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Projet.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Parametres.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/NomDAO.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/NomFormateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomCompoDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomChampsProjetDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomRetenuDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomResponsabilite.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomBasionymeDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/decorateurs/NomRangDecorateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/nom/NomDO.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/RessourcesVerificateur.php
File deleted
\ No newline at end of file
/trunk/services/bibliotheque/Conteneur.php
34,65 → 34,6
$this->parametres[$cle] = $valeur;
}
 
public function getParametresUrl() {
if (!isset($this->partages['Parametres'])){
$this->partages['Parametres'] = new Parametres($this->parametres['parametres'], $this->getBdd());
}
return $this->partages['Parametres'];
}
 
public function getParametresUrlVerificateur() {
if (!isset($this->partages['ParametresVerificateur'])){
$parametres = $this->getParametresUrl();
$parametresAPI = $this->getParametreTableau('parametresAPI');
$this->partages['ParametresVerificateur'] = new ParametresVerificateur($parametres, $parametresAPI);
}
return $this->partages['ParametresVerificateur'];
}
 
public function getRessourcesUrl() {
if (!isset($this->partages['Ressources'])){
$this->partages['Ressources'] = new Ressources($this->parametres['ressources']);
}
return $this->partages['Ressources'];
}
 
public function getRessourcesUrlVerificateur() {
if (!isset($this->partages['RessourcesVerificateur'])){
$ressources = $this->getRessourcesUrl();
$projetsDispo = $this->getParametreTableau('projetsDispo');
$servicesDispo = $this->getParametreTableau('servicesDispo');
$this->partages['RessourcesVerificateur'] = new RessourcesVerificateur($ressources, $projetsDispo, $servicesDispo);
}
return $this->partages['RessourcesVerificateur'];
}
 
public function getUrlFormatage() {
if (!isset($this->partages['UrlFormatage'])){
$Bdd = $this->getBdd();
$this->partages['UrlFormatage'] = new UrlFormatage($Bdd);
}
return $this->partages['UrlFormatage'];
}
 
public function getRequetesAssemblage() {
if (!isset($this->partages['RequetesAssemblage'])){
$this->partages['RequetesAssemblage'] = new RequetesAssemblage($this->getBdd());
}
return $this->partages['RequetesAssemblage'];
}
 
 
public function getVersionVerificateur() {
if (!isset($this->partages['VersionVerificateur'])){
$ressources = $this->getRessourcesUrl();
$parametres = $this->getParametresUrl();
$versions = $this->getVersions();
$this->partages['VersionVerificateur'] = new VersionVerificateur($ressources, $parametres, $versions);
}
return $this->partages['VersionVerificateur'];
}
 
public function getBdd() {
if (!isset($this->partages['Bdd'])){
$this->partages['Bdd'] = new Bdd();
105,17 → 46,6
return $cache;
}
 
public function getVersions() {
if (!isset($this->partages['Versions'])){
$parametres = $this->getParametresUrl();
$ressources = $this->getRessourcesUrl();
$bdd = $this->getBdd();
$versions = new Versions($parametres, $bdd);
$this->partages['Versions'] = $versions;
}
return $this->partages['Versions'];
}
 
public function getWikipediaBot($options = array()) {
$wpBot = new WikipediaBot($options);
return $wpBot;
125,24 → 55,5
$url = new Url($url);
return $url;
}
 
public function getServiceGenerique() {
$ressources = $this->getRessourcesUrl();
$classe = $ressources->getServiceClasse();
$classeGenerique = $classe.'Generique';
if ($ressources->getServiceNom() == 'noms' || $ressources->getServiceNom() == 'taxons') {
$service = new $classeGenerique($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getNomDao(), $this->getNomFormateur());
if ($classe == 'NomsListe') {
$service->setListeUrl($this->getParametre('listeUrl'));
}
} else if ($ressources->getServiceNom() == 'ontologies') {
$service = new $classeGenerique($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getOntologiesDao(), $this->getOntologiesFormateur());
if ($classe == 'OntologiesListe') {
$service->setListeUrl($this->getParametre('listeUrlOntologies'));
}
}
 
return $service;
}
}
?>