Summary Files Commits Branches @commit @diff @stats
path: root / src / controllers / LandingController.php
diff options
context:
space:
mode:
1 files changed, 9 insertions, 0 deletions
-rw-r--r--src/controllers/LandingController.php9
diff --git a/src/controllers/LandingController.php b/src/controllers/LandingController.php
new file mode 100644
index 0000000..80e0b5b
--- /dev/null
+++ b/src/controllers/LandingController.php
@@ -0,0 +1,9 @@
+<?php
+include_once("models/JobOffer.php");
+
+class LandingController {
+ function invoke() {
+ $jobs = JobOffer::getAllFromDB();
+ include "views/landing.php";
+ }
+}