class TempFolder

Guesses location for temp folder

Methods

static string
getTempFolder(string $base)

Returns the temporary folder path that silverstripe should use for its cache files.

static string
getTempFolderUsername()

Returns as best a representation of the current username as we can glean.

Details

at line 18
static string getTempFolder(string $base)

Returns the temporary folder path that silverstripe should use for its cache files.

Parameters

string $base The base path to use for determining the temporary path

Return Value

string Path to temp

at line 37
static string getTempFolderUsername()

Returns as best a representation of the current username as we can glean.

Return Value

string