class ManagerTools (View source)

comodojo/zip - ZipArchive toolbox

Methods

static string
getTemporaryFolder()

Get a temporary folder name (random)

static bool
recursiveUnlink(string $folder, bool $remove_folder = true)

Unlink a folder recursively

static bool
emptyFolder(string $folder)

No description

Details

static string getTemporaryFolder()

Get a temporary folder name (random)

Return Value

string

Unlink a folder recursively

Parameters

string $folder The folder to be removed
bool $remove_folder If true, the folder itself will be removed

Return Value

bool

Exceptions

Exception

static protected bool emptyFolder(string $folder)

Parameters

string $folder

Return Value

bool