예제 #1
0
 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'));
 }
예제 #2
0
 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);
 }
예제 #3
0
 public function admin_indexAction()
 {
     $claimRequests = ClaimRequests::find();
     $this->view->setVar('requests', $claimRequests);
     $this->view->setTemplateAfter('admin_default');
 }