public function __construct() { if (!XSLProc::isXSLTProcessorAvailable()) { throw new Exception(__('No suitable XSLT processor was found.')); } $this->registered_php_functions = array(); $this->Headers = new DocumentHeaders(); }