eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZClusterFileHandler

class eZClusterFileHandler

File containing the eZClusterFileHandler class.

Properties

static eZClusterFileHandlerInterface $globalHandler Global, generic (e.g.

Methods

static  resetHandler()

Resets the handler so that a new one can be loaded

static  cleanupEmptyDirectories(string $path)

Goes trough the directory path and removes empty directories, starting at the leaf and deleting down until a non empty directory is reached.

static  addGeneratingFile(eZDFSFileHandler|eZDFSFileHandler $file)

Adds a file to the generating list

static  removeGeneratingFile(eZDFSFileHandler $file)

Removes a file from the generating list

static  preFork()

Performs required operations before forking a process

Details

at line 67
static public resetHandler()

Resets the handler so that a new one can be loaded

at line 102
static public cleanupEmptyDirectories(string $path)

Goes trough the directory path and removes empty directories, starting at the leaf and deleting down until a non empty directory is reached.

If the path is not a directory, nothing will happen.

Parameters

string $path

at line 121
static public addGeneratingFile(eZDFSFileHandler|eZDFSFileHandler $file)

Adds a file to the generating list

Parameters

eZDFSFileHandler|eZDFSFileHandler $file Cluster file handler instance Note that this method expect a version of the handler where the filePath is the REAL one, not the .generating

at line 137
static public removeGeneratingFile(eZDFSFileHandler $file)

Removes a file from the generating list

Parameters

eZDFSFileHandler $file Cluster file handler instance Note that this method expect a version of the handler where the filePath is the REAL one, not the .generating

at line 151
static public preFork()

Performs required operations before forking a process