\OCPITempManager

Interface ITempManager

Summary

Methods
Constants
getTemporaryFile()
getTemporaryFolder()
clean()
cleanOld()
getTempBaseDir()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getTemporaryFile()

getTemporaryFile(string  $postFix = '') : string

Create a temporary file and return the path

Parameters

string $postFix

Returns

string

getTemporaryFolder()

getTemporaryFolder(string  $postFix = '') : string

Create a temporary folder and return the path

Parameters

string $postFix

Returns

string

clean()

clean() 

Remove the temporary files and folders generated during this request

cleanOld()

cleanOld() 

Remove old temporary files and folders that were failed to be cleaned

getTempBaseDir()

getTempBaseDir() : string

Get the temporary base directory

Returns

string