Nextcloud PHP API (master)

ITempManager

Interface ITempManager

Tags
since
8.0.0

Table of Contents

Methods

clean()  : mixed
Remove the temporary files and folders generated during this request
cleanOld()  : mixed
Remove old temporary files and folders that were failed to be cleaned
getTempBaseDir()  : string
Get the temporary base directory
getTemporaryFile()  : string
Create a temporary file and return the path
getTemporaryFolder()  : string
Create a temporary folder and return the path

Methods

clean()

Remove the temporary files and folders generated during this request

public clean() : mixed
Tags
since
8.0.0

cleanOld()

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

public cleanOld() : mixed
Tags
since
8.0.0

getTempBaseDir()

Get the temporary base directory

public getTempBaseDir() : string
Tags
since
8.2.0
Return values
string

getTemporaryFile()

Create a temporary file and return the path

public getTemporaryFile([string $postFix = '' ]) : string
Parameters
$postFix : string = ''
Tags
since
8.0.0
Return values
string

getTemporaryFolder()

Create a temporary folder and return the path

public getTemporaryFolder([string $postFix = '' ]) : string
Parameters
$postFix : string = ''
Tags
since
8.0.0
Return values
string

        
On this page

Search results