예제 #1
0
 public function respondAction()
 {
     $request = $this->getRequest();
     $id = $request->getParam("id", 0);
     $alerts = new Application_Model_Alerts();
     $alerts->markRead($id);
 }
예제 #2
0
 public function sendalertAction()
 {
     $alert = new Application_Model_Alerts();
     $alert->create();
     die;
 }