class cSystemPurge

 Methods

Constructor of class

__construct() 
deprecated Class was renamed to cSystemPurge

Clears the article cache of the article which is defined by the given parameters.

clearArticleCache(int $idartlang) : void
Inherited
inherited_from \cSystemPurge::clearArticleCache()

Parameters

$idartlang

int

the idartlang of the article

Clear the cache directory for a client

clearClientCache($clientId) : bool
Inherited
inherited_from \cSystemPurge::clearClientCache()

Parameters

$clientId

Returns

bool

Clear the cache directory for a client

clearClientHistory($clientId, $keep, $fileNumber) : bool
Inherited
inherited_from \cSystemPurge::clearClientHistory()

Parameters

$clientId

$keep

$fileNumber

Returns

bool

Clear client log file

clearClientLog(int $clientId) : bool
Inherited
inherited_from \cSystemPurge::clearClientLog()

Parameters

$clientId

int

Returns

bool

Clear the cache directory for a client

clearConCache() : bool
Inherited
inherited_from \cSystemPurge::clearConCache()

Returns

bool

Clear the cronjob directory

clearConCronjob() : bool
Inherited
inherited_from \cSystemPurge::clearConCronjob()

Returns

bool

Clear CONTENIDO log files

clearConLog() : bool
Inherited
inherited_from \cSystemPurge::clearConLog()

Returns

bool

Delete all files and sub directories in a directory

clearDir(string $dirPath, string $tmpDirPath, bool $keep, array $tmpFileList) : bool
Inherited
inherited_from \cSystemPurge::clearDir()

Parameters

$dirPath

string

$tmpDirPath

string
  • root directory not deleted

$keep

bool

$tmpFileList

array
  • files are temporarily saved

Returns

bool

Empty a file content

emptyFile($dirPath, $types) : bool
Inherited
inherited_from \cSystemPurge::emptyFile()

Parameters

$dirPath

$types

Returns

bool

Get frontend directory name for a client

getClientDir(int $clientId) : string
Inherited
inherited_from \cSystemPurge::getClientDir()

Parameters

$clientId

int

Returns

string$sClientDir

Reset the table con_cat_art for a client

resetClientConCatArt(int $clientId) : bool
Inherited
inherited_from \cSystemPurge::resetClientConCatArt()

Parameters

$clientId

int

Returns

bool

Deletes the PHP files in cms/cache/code

resetClientConCode(int $clientId) : bool
Inherited
inherited_from \cSystemPurge::resetClientConCode()

Parameters

$clientId

int

Returns

bool

Reset the table con_inuse

resetConInuse() : bool
Inherited
inherited_from \cSystemPurge::resetConInuse()

Returns

bool

Set cronjob file types

setCronjobFileTypes(array $types) : void
Inherited
inherited_from \cSystemPurge::setCronjobFileTypes()

Parameters

$types

array

Set log file types

setLogFileTypes(array $types) 
Inherited
inherited_from \cSystemPurge::setLogFileTypes()

Parameters

$types

array

_setSystemDirectory()

_setSystemDirectory() 
Inherited
inherited_from \cSystemPurge::_setSystemDirectory()

 Properties

 

$_cronjobFileTypes : array
Inherited
inherited_from \cSystemPurge::$$_cronjobFileTypes
 

$_dirsExcluded : array
Inherited
inherited_from \cSystemPurge::$$_dirsExcluded
 

$_dirsExcludedWithFiles : array
Inherited
inherited_from \cSystemPurge::$$_dirsExcludedWithFiles
 

$_logFileTypes : array
Inherited
inherited_from \cSystemPurge::$$_logFileTypes