コード例 #1
0
ファイル: employer.php プロジェクト: joshjim27/jobsglobal
 function updateeducation($_post)
 {
     $user->id = $this->getuser();
     $profile = new Education($user->id);
     return $profile->update($_post);
 }
コード例 #2
0
<?php

include_once "../../../../../../libraries/aces/models/education.php";
// echo json_encode($filter);
$_POST['id'] = $_POST['id'];
$_POST['userid'] = $_POST['userid'];
$_POST['school'] = $_POST['school'];
$_POST['fieldofstudy'] = $_POST['fieldofstudy'];
$_POST['dateattendfrom'] = $_POST['dateattendfrom'];
$_POST['dateattendto'] = $_POST['dateattendto'];
$_POST['degree'] = $_POST['degree'];
$_POST['grade'] = $_POST['grade'];
$_POST['description'] = $_POST['description'];
$edu = new Education();
$data = $edu->update($_POST);
echo json_encode($data);
// echo json_encode($_POST);
// foreach($data as $edudata){
// echo json_encode($edudata);
// }
コード例 #3
0
ファイル: profile.php プロジェクト: joshjim27/jobsglobal
 function updateeducation($_post)
 {
     $profile = new Education($this->getUser()->id);
     return $profile->update($_post);
 }