Exemple #1
0
     echo json_encode($result);
     exit;
 case 'saveNewProject':
     $result = DbManager::saveNewProject($request->data);
     echo json_encode($result);
     exit;
 case 'getTestimonials':
     $result = DbManager::getTestimonials();
     echo json_encode($result);
     exit;
 case "getProjects":
     $result = DbManager::getProjects($request->data);
     echo json_encode($result);
     exit;
 case "getProject":
     $result = DbManager::getProject($request->data);
     echo json_encode($result);
     exit;
 case "editTestimonial":
     $result = DbManager::editTestimonial($request->data);
     echo json_encode($result);
     exit;
 case "editProject":
     $result = DbManager::editProject($request->data);
     echo json_encode($result);
     exit;
 case "getManageProjects":
     $result = DbManager::getManageProject($request->data);
     echo json_encode($result);
     exit;
 case "insertContactUs":