15,13 → 15,13 |
class Description extends aControleur { |
|
private $conteneur = null; |
private $nomCourrant = null; |
private $nomCourant = null; |
private $textes = null; |
private $meta = null; |
|
public function __construct(Conteneur $conteneur) { |
$this->conteneur = $conteneur; |
$this->nomCourrant = $this->conteneur->getNomCourrant(); |
$this->nomCourant = $this->conteneur->getNomCourant(); |
$this->textes = $this->conteneur->getApiTextes(); |
$this->meta = $this->conteneur->getApiMetaDonnees(); |
$this->appUrls = $this->conteneur->getAppUrls(); |
55,7 → 55,7 |
} |
|
private function getIdWp() { |
$nomSci = $this->nomCourrant->getNomRetenu()->get('nom_sci'); |
$nomSci = $this->nomCourant->getNomRetenu()->get('nom_sci'); |
$idWp = str_replace(' ', '_', $nomSci); |
return $idWp; |
} |