getDataFields() public method

public getDataFields ( boolean $utf8 = true ) : string | boolean
$utf8 boolean whether to dump the data UTF-8 encoded. Default is true.
return string | boolean data about the PDF form fields or false on failure
Beispiel #1
0
 public function testCanGetDataFields()
 {
     $form = $this->getForm();
     $pdf = new Pdf($form);
     $data = $pdf->getDataFields();
     $this->assertInternalType('string', $data);
     $this->assertEquals($this->formDataFields, $data);
 }