Beispiel #1
0
    GLOBALvarGet('CStudent')->index();
});
Router::register('jobs/editprofile', function () {
    GLOBALvarGet('CStudent')->editStudentProfile();
});
Router::register('jobs/viewprofile', function () {
    GLOBALvarGet('CStudent')->viewStudentProfile();
});
Router::register('jobs/application', function (array $restOfRoute) {
    ApplicationController::view($restOfRoute);
});
Router::register('jobs/application/report', function () {
    ApplicationControllerAJAX::report();
});
Router::register('jobs/apply', function (array $restOfRoute) {
    ApplicationController::apply($restOfRoute);
});
Router::register('jobs/home', function () {
    StudentController::manage();
});
Router::register('jobs/job', function () {
    GLOBALvarGet('CJob')->view();
});
Router::register('jobs/recruiter', function () {
    GLOBALvarGet('CRecruiter')->view();
});
Router::register('jobs/search', function () {
    Controller::displayMetatags('searchjobs');
    GLOBALvarGet('CJob')->search();
});
Router::register('jobs/company', function () {