function ajaxphoneconversationAction() { $this->_helper->layout->disableLayout(); if ($this->_request->getParam('uid')) { $idValue = explode('&', $this->_request->getParam('uid')); $uid = $idValue[0]; $phoneconversationModel = new PhoneConversation(); $phoneconversation = $phoneconversationModel->fetchAll('consumer_id="' . $uid . '"'); if ($phoneconversation) { $this->view->phoneconversation = $phoneconversation; } $telephonelogModel = new TelephoneLog(); $telephonelog = $telephonelogModel->fetchAll('consumer_id="' . $uid . '"'); if ($telephonelog) { $this->view->telephonelog = $telephonelog; } } }