public function actionSendUpdateNotifi()
 {
     $sender = $_POST['owner'];
     $typeid = $_POST['agendaID'];
     $type = $_POST['type'];
     $followmodel = new Follow();
     $recive = array();
     $recive = $followmodel->getfollowing($sender);
     for ($i = 0; $i < sizeof($recive); $i++) {
         $notificationModel = new Notification();
         $notificationModel->sender = $sender;
         $notificationModel->postID = $typeid;
         $notificationModel->type = $type;
         $notificationModel->seen = "0 ";
         $notificationModel->notified = $recive["studentID"][$i];
         $notificationModel->save();
     }
     $value = array('status' => "ok");
     return json_encode($value);
 }