예제 #1
0
 public function addtasksprojectAction()
 {
     $type = $this->_getParam('type');
     $dtask_model = new Timemanagement_Model_Tasks();
     $dtask_arr = $dtask_model->fetchAll(" is_active=1 and is_default=1")->toArray();
     $projectTasksModel = new Timemanagement_Model_Projecttasks();
     $mtask_arr = $projectTasksModel->getMostTasks();
     $this->view->type = $type;
     $this->view->dtask_arr = $dtask_arr;
     $this->view->mosttask_arr = $mtask_arr;
 }