SergeC 9d6b2ff7bd Update src/PHPWord/Template.php
This function returns array of all variables in template.
Test code:
$PHPWord = new PHPWord();
$document = $PHPWord->loadTemplate('Template.docx');
var_dump($document->getVariables());
2012-08-11 23:02:57 +03:00
2012-05-30 00:06:11 +02:00
2012-08-11 23:02:57 +03:00
2012-05-30 00:05:31 +02:00
2012-07-05 07:25:13 +02:00
2012-07-05 07:25:13 +02:00

PHPWord - OpenXML - Read, Write and Create Word documents in PHP

PHPWord is a library written in PHP that create word documents. No Windows operating system is needed for usage because the result are docx files (Office Open XML) that can be opened by all major office software.

Want to contribute?

Fork us!

License

PHPWord is licensed under LGPL (GNU LESSER GENERAL PUBLIC LICENSE)

Description
A pure PHP library for reading and writing word processing documents
Readme 17 MiB
Languages
PHP 99.9%