Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe PlgSystemLogrotation
+ Graphe d'héritage de PlgSystemLogrotation:

Attributs protégés

 $autoloadLanguage = true
 
 $app
 
 $db
 

Fonctions membres privées

 getLogFiles ($path)
 
 rotate ($path, $filename, $currentVersion)
 
 clearCacheGroups (array $clearGroups, array $cacheClients=array(0, 1))
 

Description détaillée

Joomla! Log Rotation plugin

Rotate the log files created by Joomla core

Depuis
3.9.0

Documentation des fonctions membres

◆ clearCacheGroups()

clearCacheGroups ( array  $clearGroups,
array  $cacheClients = array(0, 1) 
)
private

Clears cache groups. We use it to clear the plugins cache after we update the last run timestamp.

Paramètres
array$clearGroupsThe cache groups to clean
array$cacheClientsThe cache clients (site, admin) to clean
Renvoie
void
Depuis
3.9.0

Références $options, JPATH_ADMINISTRATOR, et JPATH_SITE.

◆ getLogFiles()

getLogFiles (   $path)
private

Get log files from log folder

Paramètres
string$pathThe folder to get log files
Renvoie
array The log files in the given path grouped by version number (not rotated files has number 0)
Depuis
3.9.0

Références $file, $files, $parts, $path, et $version.

◆ rotate()

rotate (   $path,
  $filename,
  $currentVersion 
)
private

Method to rotate (increase version) of a log file

Paramètres
string$pathPath to file to rotate
string$filenameName of file to rotate
int$currentVersionThe current version number
Renvoie
void
Depuis
3.9.0

Références $parts, et $path.

Documentation des champs

◆ $app

$app
protected

◆ $autoloadLanguage

$autoloadLanguage = true
protected

◆ $db

$db
protected

La documentation de cette classe a été générée à partir du fichier suivant :