Outputs the given file, must be located under getFilesPath()
Usage
$bool = $formBuilderMain->viewFile(string $key);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | Key representing the file to view (generated by getFileKey) |
Return value
bool
Returns false on failure. On success, it exists program execution.
FormBuilderMain methods and properties
API reference based on ProcessWire core version 3.0.236