Subversion Repositories eFlore/Projets.eflore-projets

Compare Revisions

Ignore whitespace Rev 200 → Rev 201

/trunk/services/bibliotheque/interfaces/NomsListe.php
New file
0,0 → 1,7
<?php
interface NomsListe {
public function setDetailsHrefTpl($tpl);
public function setListeUrl($url);
public function consulter();
}
?>
/trunk/services/bibliotheque/interfaces/NomDetails.php
New file
0,0 → 1,8
<?php
interface NomDetails {
public function setChampsProjet($champsProjet);
public function setDetailsHrefTpl($tpl);
public function setOntologieHrefTpl($tpl);
public function consulter();
}
?>
/trunk/services/bibliotheque/Conteneur.php
93,7 → 93,7
$service = new $classe($this->getRessourcesUrl(), $this->getParametresUrl(), $this->getBdd());
if ($service instanceof NomDetails) {
$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
$service->setChampsProjets($this->getParametreTableau('champsProjet'));
$service->setChampsProjet($this->getParametreTableau('champsProjet'));
$service->setOntologieHrefTpl($this->getParametre('ontologieHrefTpl'));
} else if ($service instanceof NomsListe) {
$service->setDetailsHrefTpl($this->getParametre('detailsHrefTpl'));
/trunk/services/bibliotheque/Projet.php
61,6 → 61,7
$chemins[] = $this->cheminBase.$this->getNom().DS;
$chemins[] = $this->cheminBase.'commun'.DS;
$chemins[] = $this->cheminBiblio;
$chemins[] = $this->cheminBiblio.'interfaces'.DS;
$chemins[] = $this->cheminBiblio.'nom'.DS;
$chemins[] = $this->cheminBiblio.'nom'.DS.'decorateurs'.DS;
 
114,7 → 115,8
}
}
}
return $classeNom;
$classeNomProjet = $classeNom.ucfirst($this->getNom());
return $classeNomProjet;
}
 
public function verifier() {