Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Hello,
The addTemplateVariable method has been replaced by:
· replaceVariableByText
http://www.phpdocx.com/api-documentation/templates/replace-variable-text-Word-document
· replaceListVariable
http://www.phpdocx.com/api-documentation/templates/replace-list-variable-Word-document
· replaceTableVariable
http://www.phpdocx.com/api-documentation/templates/replace-table-variable-Word-document
And phpdocx 4 added this powerful method:
· replaceVariableByWordFragment
http://www.phpdocx.com/api-documentation/templates/replace-variable-word-fragment-Word-document
All pages included examples about how to use each method.
Regards.