FormBuilderMain::getFileURL()

Return a URL where the given file can be viewed

Usage

$bool = $formBuilderMain->getFileURL($formID, int $entryID, string $filename);

Arguments

NameType(s)Description
$formIDint string FormBuilderForm
$entryIDint

Or specify 0 if not yet an active entry

$filenamestring

Return value

bool string

Returns false on failure or URL on success


FormBuilderMain methods and properties

API reference based on ProcessWire core version 3.0.251