generatePreviewPdf() public method

Note that this is currently only used for non-compliant applications.
public generatePreviewPdf ( CController $controller ) : OETCPDF
$controller CController
return OETCPDF
Example #1
0
 /**
  * preview of the application - will generate both left and right forms into one PDF.
  *
  * @throws CHttpException
  */
 public function actionPreviewApplication()
 {
     $this->assetPath = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('application.modules.' . $this->getModule()->name . '.assets'), false, -1);
     $service = new OphCoTherapyapplication_Processor($this->event);
     $service->generatePreviewPdf($this);
 }