Пример #1
0
 /**
  * Show deployment
  *
  * @return  void
  */
 public function showDeploymentTask($dep = NULL)
 {
     if (!($id = Request::getInt('id', false))) {
         App::abort(422, Lang::txt('COM_COURSES_ERROR_MISSING_IDENTIFIER'));
     }
     // Set the title and pathway
     $this->_buildTitle();
     $this->_buildPathway();
     $this->view->pdf = $this->assertExistentForm();
     $this->view->title = $this->view->pdf->getTitle();
     $this->view->dep = $dep ? $dep : PdfFormDeployment::load($id);
     $this->view->base = $this->base;
     // Display
     $this->view->display();
 }