Exemplo n.º 1
0
 public function userPageAction()
 {
     $username = $this->_getParam('username');
     $matterModel = new Application_Model_Matter();
     $this->view->categories = $matterModel->getCategoryMatterCount($username);
     $this->view->open_tasks = $matterModel->getUserOpenTasks($username);
     $this->view->ren_tasks = $matterModel->getUserOpenTasks($username, 1);
     $this->view->users_list = $matterModel->getUsersOpenTaskCount();
     $this->render('index');
 }