Forum


Replies: 1   Views: 4488
Seemingly incorrect example for addtext
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 account33640  · 02-02-2016 - 01:14

In the documentation for addText at: http://www.phpdocx.com/api-documentation/word-content/add-paragraph-text-Word-document-with-PHP ...  The code shown for example two appears to be mistakenly used again in example 3.  As a result we don't get to see the example code which I'm guessing would use addLink in conjunction with a paragraph.  

Posted by admin  · 02-02-2016 - 08:18

Hello,

Thanks, we have fixed the documentation page, the next time the internal cache refresh the sample will appear.

Anyway, all samples are included within the package in the examples folder. You may find the one you refer in the path examples/Core/addText/sample_3.php.

Regards.