protected function FillPdfTestHelper::getLatestFillPdfForm in FillPDF 7
Get the fid of the uploaded file to construct the link.
Return value
int|false The fid or FALSE if there are no entries in {fillpdf_forms}.
3 calls to FillPdfTestHelper::getLatestFillPdfForm()
- FillPdfMergeTestCase::backendTest in tests/
FillPdfMergeTestCase.test - Tests PDF merging.
- FillPdfMergeTestCase::testPdfMerging in tests/
FillPdfMergeTestCase.test - Test PDF merging.
- FillPdfTestCase::testFileAccess in tests/
FillPdfTestCase.test - Make sure that file access works properly.
File
- tests/
FillPdfTestHelper.test, line 73
Class
- FillPdfTestHelper
- Helper functions for FillPDF testing.
Code
protected function getLatestFillPdfForm() {
return db_query('select MAX(fid) AS fid from {fillpdf_forms};')
->fetchField();
}