Register Lost your password?
Full api documentation: full api documentation FREE version full api documentation PRO version

public function addTemplateCheckBox(string $var, string $value)

This method replaces variables adding checkbox in Word document.

Parameters

$var

Variable to replace.

$value

To replace the previous variable.

Examples

Example 1 Version Pro


require_once 'classes/CreateDocx.inc';

$docx = new CreateDocx();

$docx->addTemplate('../files/TemplateCheckbox.docx');

$docx->addTemplateCheckBox('1', 'First');
$docx->addTemplateCheckBox('2', 'Second');
$docx->addTemplateCheckBox('3', 'Third');

$docx->createDocx('template_checkbox');


Comments are closed.