public function ajaxSendContactsFormAction() { $this->_helper->Ajax->disableLayout($this); $data = json_decode($this->_getParam('json', ''), true); $array = $this->_contacts->insertContactLog($data); echo json_encode($array); }
public function contactLogAction() { $this->view->contactLogs = $this->_contacts->getAllContactLogs(); }