public function biz_pageAction() { $member = Members::findFirstById($id); $this->view->setVar('member', $member); $reviews = Reviews::find(array('member_id = "' . $id . '"', 'order' => 'id DESC')); $this->view->setVar('reviews', $reviews); $claimRequests = ClaimRequests::find(array('member_id = "' . $id . '"', 'order' => 'id DESC')); }
public function pageAction($id = null) { $userSession = $this->session->get('userSession'); $member = Members::findFirstById($id); $this->view->setVar('member', $member); $reviews = Reviews::find(array('member_id = "' . $id . '"', 'order' => 'id DESC')); $this->view->setVar('reviews', $reviews); $claimRequests = ClaimRequests::find(array('member_id = "' . $id . '"', 'order' => 'id DESC')); $this->view->setVar('claimrequest', $claimRequests); }
public function admin_indexAction() { $claimRequests = ClaimRequests::find(); $this->view->setVar('requests', $claimRequests); $this->view->setTemplateAfter('admin_default'); }