lundi 28 septembre 2015

PHPWord template: change the search-pattern

I'm using PHPWord for reading a Word template with strings that must be replaced with other values. PHPWord has the TemplateProcessor class, which is exactly what i need, but i need to change the search pattern used by default, which is

${search-pattern} 

I have tried changing the code in TemplateProcessor but it doesn't work. How can i change the search pattern used by PHPWord? Thanks!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire