getTemplateVariables

getTemplateVariables

BASIC / ADVANCED / PREMIUM

Returns the template placeholder variables as an array.

Description
public getTemplateVariables ()

This method returns all phpdocx placeholder variables of the current template.

Parameters

This method takes no parameters.

Return values

Array with the template variables included in the Word template

Code samples

Example #1

The resulting Word document looks like: