Ejemplo n.º 1
0
 /**
  * Execute the controller.
  *
  * @return  string
  *
  * @since   1.0
  */
 public function execute()
 {
     /* @type \JTracker\Application $application */
     $application = $this->getContainer()->get('app');
     $application->getUser()->authorize('manage');
     $item = $this->model->getItem($application->input->getUint('id'));
     $this->view->setProject($application->getProject());
     $this->model->setProject($application->getProject());
     $this->view->setItem($item);
     return parent::execute();
 }