Return a URL where the given file can be viewed
Usage
$bool = $forms->getFileURL($formID, int $entryID, string $filename);
Arguments
Name | Type(s) | Description |
---|---|---|
formID | int, string, FormBuilderForm | |
entryID | int | Or specify 0 if not yet an active entry |
filename | string |
Return value
bool
string
Returns false on failure or URL on success
API reference based on ProcessWire core version 3.0.236