FormBuilderMain::getFilesPath() method

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.244

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull