XmlApi - pdx:setTemplateBlockSymbol

pdx:setTemplateBlockSymbol

Sets the string used to identify block variables within a given template.

Description

Element definition

By default the phpdocx template variables have to begin by 'BLOCK_'.

You can change that string by any other you wish with the help of this method.

Attributes and sub-elements

symbolValue

The string you want to use for identifying block variables within templates..

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code