You are here

public function FillPdfLinkBooleansTestCase::link in FillPDF 7

Input helper for testBooleans().

Parameters

string $input: The string to set as the query parameter value.

Return value

string The full URL.

1 call to FillPdfLinkBooleansTestCase::link()
FillPdfLinkBooleansTestCase::testBooleans in tests/FillPdfLinkBooleansTestCase.test
Tests boolean query parameters.

File

tests/FillPdfLinkBooleansTestCase.test, line 51

Class

FillPdfLinkBooleansTestCase
Tests some unit test cases.

Code

public function link($input) {
  return fillpdf_pdf_link(1, 1) . '&sample=' . $input . '&download=' . $input . '&flatten=' . $input;
}