/** * */ 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'); }
/** * */ 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'); }
/** * */ 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(); }