FormBuilderMain::getFilesPath()

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

NameType(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.251