public function DocRaptorPDF::__construct in Forena Reports 7.5
File
- src/
DocumentFormats/ DocRaptorPDF.php, line 17 - PrincePDF PDF document via Prince XML @author davidmetzler
Class
Namespace
Drupal\forena\DocumentFormatsCode
public function __construct() {
$this->content_type = 'application/pdf';
$this->url = variable_get('forena_pdf_docraptor_url', 'https://docraptor.com/docs');
$this->api_key = variable_get('forena_pdf_docraptor_key', '');
$this->test = variable_get('forena_pdf_docraptor_test', TRUE);
$this->access = user_access('use forena pdf document generation service');
}