FormBuilderMain::getFilePath()

Get full disk path for given file basename

Usage

$bool = $formBuilderMain->getFilePath($form, int $entryID, string $filename);

Arguments

NameType(s)Description
$formint FormBuilderForm
$entryIDint
$filenamestring

File basename

Return value

bool

Exceptions

Method can throw exceptions on error:

  • FormBuilderException


FormBuilderMain methods and properties

API reference based on ProcessWire core version 3.0.251