Summary Files Commits Branches @commit @diff @stats
path: root / src / controllers / LandingController.php
diff options
context:
space:
mode:
1 files changed, 12 insertions, 2 deletions
-rw-r--r--src/controllers/LandingController.php14
diff --git a/src/controllers/LandingController.php b/src/controllers/LandingController.php
index 80e0b5b..9062918 100644
--- a/src/controllers/LandingController.php
+++ b/src/controllers/LandingController.php
@@ -1,9 +1,19 @@
<?php
include_once("models/JobOffer.php");
+include_once("controllers/BaseController.php");
-class LandingController {
- function invoke() {
+class LandingController extends BaseController {
+ public static function get() {
$jobs = JobOffer::getAllFromDB();
include "views/landing.php";
}
+
+ protected static function post() {
+ }
+
+ protected static function put() {
+ }
+
+ protected static function delete() {
+ }
}