Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update src/PHPWord/Template.php #7

Merged
merged 1 commit into from
Sep 8, 2012
Merged

Update src/PHPWord/Template.php #7

merged 1 commit into from
Sep 8, 2012

Conversation

SergeC
Copy link
Contributor

@SergeC SergeC commented Aug 11, 2012

This function returns array of all variables in template.
Test code:
$PHPWord = new PHPWord();
$document = $PHPWord->loadTemplate('Template.docx');
var_dump($document->getVariables());

This function returns array of all variables in template.
Test code:
$PHPWord = new PHPWord();
$document = $PHPWord->loadTemplate('Template.docx');
var_dump($document->getVariables());
MarkBaker pushed a commit that referenced this pull request Sep 8, 2012
Update src/PHPWord/Template.php
@MarkBaker MarkBaker merged commit ad47f39 into PHPOffice:master Sep 8, 2012
@MarkBaker
Copy link
Member

Thanks for the new function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants