PHPWord/tests/PhpWord
Nicolas Dermine 07e97c38cd add `getVariableCount` method to `TemplateProcessor`
returns how many times each placeholder is present in the document

almost the same code as `getVariables`

useful when cloning a block a number of times and want to replace
placeholders that are present more than once in the block
(using the `$limit` parameter of `setValue`)
2018-02-05 17:45:24 +01:00
..
Collection Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
ComplexType Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
Element rename 'Object' classes to 'ObjectElement' (php 7.2 compatibility) (#1185) 2017-12-29 20:19:35 +01:00
Exception Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
Metadata Merge branch 'develop' into feature/EnablePasswordProtection 2017-12-05 00:34:14 +01:00
Reader correctly parse on/off values (w:val="true|false|1|0|on|off") 2017-12-13 07:47:49 +01:00
Shared fix typo in test method name 2018-02-01 14:12:56 +01:00
Style Scrutinizer fixes 2017-11-26 22:55:37 +01:00
Writer rename 'Object' classes to 'ObjectElement' (php 7.2 compatibility) (#1185) 2017-12-29 20:19:35 +01:00
_files correctly parse on/off values (w:val="true|false|1|0|on|off") 2017-12-13 07:47:49 +01:00
_includes correctly parse on/off values (w:val="true|false|1|0|on|off") 2017-12-13 07:47:49 +01:00
IOFactoryTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
MediaTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
PhpWordTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
SettingsTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
StyleTest.php Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-09 06:36:47 -02:00
TemplateProcessorTest.php add `getVariableCount` method to `TemplateProcessor` 2018-02-05 17:45:24 +01:00