Return path that FormBuilder uses for storing files
Usage
// basic usage
$string = $formBuilderMain->getFilesPath();
// usage with all arguments
$string = $formBuilderMain->getFilesPath(bool $tmp = false, bool $create = true);
Arguments
Name | Type(s) | Description |
---|---|---|
tmp (optional) | bool | Whether to return the tmp path (default=false) |
create (optional) | bool | Create if not exists? (default=true) |
Return value
string
Exceptions
Method can throw exceptions on error:
FormBuilderException
FormBuilderMain methods and properties
API reference based on ProcessWire core version 3.0.236