public function subcriberoptoutAction() { $folderObj = new Application_Model_Folder($this->user); if ($this->request->isPost()) { $phone = $this->request->getParam('phone'); $folderid_phone = explode("_", $phone); $folderObj->updateinboxmessage($folderid_phone[0], (int) $folderid_phone[1]); if ($folderObj->optOutSubscriberInbox($phone)) { echo 'This subscriber ' . $folderid_phone[0] . ' has been opted out'; } else { echo 'This subcraiber ' . $folderid_phone[0] . ' is not in the subcribers folder'; } exit; } }