PHP Class Contao\Automator

Inheritance: extends System
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Make the constuctor public
generateInternalCache ( ) Generate the internal cache
generateSitemap ( integer $intId ) Generate the Google XML sitemaps
generateSymlinks ( ) Generate the symlinks in the web/ folder
generateXmlFiles ( ) Regenerate the XML files
purgeImageCache ( ) Purge the image cache
purgeInternalCache ( ) Purge the internal cache
purgePageCache ( ) Purge the page cache
purgeScriptCache ( ) Purge the script cache
purgeSearchCache ( ) Purge the search cache
purgeSearchTables ( ) Purge the search tables
purgeSystemLog ( ) Purge the system log
purgeTempFolder ( ) Purge the temp folder
purgeUndoTable ( ) Purge the undo table
purgeVersionTable ( ) Purge the version table
purgeXmlFiles ( boolean $blnReturn = false ) : array Remove old XML files from the share directory
rotateLogs ( ) Rotate the log files

Method Details

__construct() public méthode

Make the constuctor public
public __construct ( )

generateInternalCache() public méthode

Generate the internal cache

generateSitemap() public méthode

Generate the Google XML sitemaps
public generateSitemap ( integer $intId )
$intId integer The root page ID

generateXmlFiles() public méthode

Regenerate the XML files
public generateXmlFiles ( )

purgeImageCache() public méthode

Purge the image cache
public purgeImageCache ( )

purgeInternalCache() public méthode

Purge the internal cache
public purgeInternalCache ( )

purgePageCache() public méthode

Purge the page cache
public purgePageCache ( )

purgeScriptCache() public méthode

Purge the script cache
public purgeScriptCache ( )

purgeSearchCache() public méthode

Purge the search cache
public purgeSearchCache ( )

purgeSearchTables() public méthode

Purge the search tables
public purgeSearchTables ( )

purgeSystemLog() public méthode

Purge the system log
public purgeSystemLog ( )

purgeTempFolder() public méthode

Purge the temp folder
public purgeTempFolder ( )

purgeUndoTable() public méthode

Purge the undo table
public purgeUndoTable ( )

purgeVersionTable() public méthode

Purge the version table
public purgeVersionTable ( )

purgeXmlFiles() public méthode

Remove old XML files from the share directory
public purgeXmlFiles ( boolean $blnReturn = false ) : array
$blnReturn boolean If true, only return the finds and don't delete
Résultat array An array of old XML files

rotateLogs() public méthode

Rotate the log files
Deprecation: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use the logger service instead, which rotates its log files automatically.
public rotateLogs ( )