Forum


Replies: 3   Views: 2854
Missing function
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.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by tomtommz  · 19-09-2011 - 10:17

Hello,

When I want to use the mergeFile function in createTemplate (v2.4), I've got this error :

Fatal error: Call to undefined method CreateTemplate::cleanDocument() in phpdocx/classes/CreateTemplate.inc on line 485

Is this function not coded or simply not published?

Thanks
Thomas

Posted by admin  · 11-04-2013 - 12:13

Hello,

Please use addTemplateVariable to merge DOCX, check included examples; that other method is only internal (public for now) but deprecated.

Regards.

Posted by tomtommz  · 11-04-2013 - 12:13

thx for the advice