Outputs the given file, must be located under getFilesPath()
Usage
$forms->viewFile(string $key);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string | Key representing the file to view (generated by getFileKey) |
Exceptions
Method can throw exceptions on error:
Wire404Exception
API reference based on ProcessWire core version 3.0.236