Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 788 → Rev 789

/trunk/services/bibliotheque/Masque.php
13,6 → 13,7
class Masque {
const prefixe = 'masque.';
const masqueGeneral = 'masque';
private $masquesPossibles;
private $parametres;
39,7 → 40,7
public function chargerMasque() {
if ($this->parametres != null) {
foreach ($this->parametres as $id => $parametre) {
if (strpos($id, self::prefixe) === 0) {
if (strpos($id, self::prefixe) === 0 || $id == self::masqueGeneral) {
if (in_array(str_replace(self::prefixe, '', $id), $this->masquesPossibles)) {
$this->masque[$id] = $parametre;
}