ITempManager

interface OCP\ITempManager
Interface ITempManager
Implemented by:OC\TempManager
Source:lib/public/ITempManager.php#33

Methods

public OCP\ITempManager::getTemporaryFile($postFix="")
Create a temporary file and return the path
Source:

lib/public/ITempManager.php#41

Parameters:
  • $postFix (string)
Returns:

string

Since:

8.0.0

public OCP\ITempManager::getTemporaryFolder($postFix="")
Create a temporary folder and return the path
Source:

lib/public/ITempManager.php#50

Parameters:
  • $postFix (string)
Returns:

string

Since:

8.0.0

public OCP\ITempManager::clean()
Remove the temporary files and folders generated during this request
Source:lib/public/ITempManager.php#56
Since:8.0.0
public OCP\ITempManager::cleanOld()
Remove old temporary files and folders that were failed to be cleaned
Source:lib/public/ITempManager.php#62
Since:8.0.0
public OCP\ITempManager::getTempBaseDir()
Get the temporary base directory
Source:lib/public/ITempManager.php#70
Returns:string
Since:8.2.0