public function dataAction() { $this->_helper->layout->setLayout('nonadmin'); $userid = $this->user->getId(); $subscriberid = $this->request->getParam('id'); $formObj = new Application_Model_Form(); $subscriberDetails = $formObj->getSubscriberDataById($subscriberid, $userid); //echo "<pre>"; print_r($subscriberDetails); exit; $subscribersDetailsForm = $formObj->getSubscriberDataValueById($subscriberid, $subscriberDetails['0']['webform_url_id']); ////echo "<pre>"; print_r($subscribersDetailsForm); exit; $folder = new Application_Model_Folder($this->user); $phonenumberOptinoutDate = $folder->getPhoneNumberOptinoutDate($subscriberDetails['0']['phonenumber'], $subscriberDetails['0']['folderid']); //echo "<pre>"; print_r($phonenumberOptinoutDate); exit; $this->view->subscriberDetails = $subscriberDetails; $this->view->otherSubscribersDetails = $subscribersDetailsForm; $this->view->phonenumberOptinoutDate = $phonenumberOptinoutDate; }