setsession($session); } public function lecture(Art $art) { if($art->secure() == 1) { echo '

cet article est privé

'; } if($art->secure() == 2) { echo "

cet article n'est pas publié

"; } if ($this->session() >= $art->secure()) { ?>

titre() ?>

soustitre() ?>

html('html') ?>

session() >= self::$edit) { ?>
<?= $title ?> '; foreach ($list as $item) { echo '
  • ' . $item['titre'] . ' - ' . $item['intro']; if ($this->session() >= 2) { echo ' - modifier
  • '; } else { echo ''; } } echo ' '; } public function aside($list) { if ($this->session() >= 2) { echo ' '; } } public function nav($app) { ?> = 0) { $session = intval($session); $this->session = $session; } } //______________________________________________________ G E T _________________________________________________ public function session() { return $this->session; } } ?>