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