public function savePost($post_id, $post)
 {
     $data = $_POST['svkj_remindr'];
     $model = new ReminderModel($post);
     $model->set($data);
     $model->sync();
 }
Example #2
0
 public function savePost($post_id, $post)
 {
     if (!isset($_POST['svkj_remindr'])) {
         return null;
     }
     $data = $_POST['svkj_remindr'];
     $model = new ReminderModel($post);
     $model->set($data);
     $model->sync();
 }