示例#1
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->info['NAME'] = 'wkhtmltopdf';
     $this->set('CODE', 'wkhtmltopdf');
     $this->description = _t('Renders HTML as PDF using wkhtmltopdf');
     $this->ops_wkhtmltopdf_path = caGetExternalApplicationPath('wkhtmltopdf');
 }
示例#2
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->info['NAME'] = 'PhantomJS';
     $this->set('CODE', 'PhantomJS');
     $this->description = _t('Renders HTML as PDF using PhantomJS');
     $this->ops_phantom_path = caGetExternalApplicationPath('phantomjs');
 }
示例#3
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->info['NAME'] = 'domPDF';
     $this->set('CODE', 'domPDF');
     $this->description = _t('Renders HTML as PDF using domPDF');
     $this->renderer = new DOMPDF();
 }