mPDF Manual – mPDF Variables

enableImports

(mPDF >= 4.3)

enableImports – Enable the use of imported PDF files or templates

Description

void enableImports

Enable the use of imported PDF files or templates. This causes additional files (classes) to be loaded, enabling several functions allowing you to import PDF files into the document you are writing, and using templates.

Values

$enableImportsTRUE FALSE

Values

TRUE : enable import/template functions

FALSE: disabled

DEFAULT: FALSE

Changelog

VersionDescription
4.3 Variable was added.

See Also