You are here

public function FrxDocRaptor::__construct in Forena Reports 7.4

File

docformats/FrxDocRaptor.inc, line 15
FrxPrincePDF PDF document via Prince XML @author davidmetzler

Class

FrxDocRaptor
@file FrxPrincePDF PDF document via Prince XML @author davidmetzler

Code

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