From 63fb854560c2a437ebd72f3ab8b97349fd3eb61d Mon Sep 17 00:00:00 2001 From: polo Date: Tue, 16 Jun 2026 23:52:55 +0200 Subject: =?UTF-8?q?s=C3=A9paration=20par=20r=C3=B4le=20de=20ViewDirector?= =?UTF-8?q?=20et=20ViewController?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/ViewDirector.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/view/ViewDirector.php (limited to 'src/view/ViewDirector.php') diff --git a/src/view/ViewDirector.php b/src/view/ViewDirector.php new file mode 100644 index 0000000..c1a38b8 --- /dev/null +++ b/src/view/ViewDirector.php @@ -0,0 +1,28 @@ +root_node = $root_node; + $this->useChildrenBuilder($this->root_node); + + if(isset($_SESSION['flash_message'])){ + $this->html .= ''; + unset($_SESSION['flash_message']); + } + + return $this->html; + } +} \ No newline at end of file -- cgit v1.2.3