1 2 3 4 5 6 7 8 9 10
<?php include_once("models/JobOffer.php"); include_once("controllers/BaseController.php"); class LandingController extends BaseController { public static function get() { $jobs = JobOffer::getAllFromDB(); include "views/landing.php"; } }