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