示例#1
0
}
if ($action == 'edit_hours') {
    HoursController::edit_hours();
}
if ($action == 'change_hour_state') {
    HoursController::change_hour_state();
}
if ($action == 'booking_get_instructors_list_for_clndr_render') {
    echo json_encode(instructorController::getInstructors());
}
if ($action == 'get_reservations_for_booking_calendar') {
    CalendarController::booking_get_reservations();
}
if ($action == 'sync_google_clndr') {
    $calController = new InstructorCalendarEvents();
    $calController->syncGoogleClndr();
}
if ($action == 'get_reservations_for_booking_calendar_by_dayhours') {
    clientsTable(CalendarController::getDateHoursReservations());
}
if ($action == 'booking_add_instructor') {
    instructorController::addInstructor();
}
if ($action == 'booking_edit_instructor') {
    instructorController::editInstructor();
}
if ($action == 'booking_remove_instructor') {
    instructorController::removeInstructor();
}
if ($action == 'booking_change_instructor') {
    instructorController::changeInstructor();