PHP Class Contao\Automator

Inheritance: extends System
Datei anzeigen Open project: contao/core-bundle Class Usage Examples

Public Methods

Method 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 method

Make the constuctor public
public __construct ( )

generateInternalCache() public method

Generate the internal cache

generateSitemap() public method

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

generateXmlFiles() public method

Regenerate the XML files
public generateXmlFiles ( )

purgeImageCache() public method

Purge the image cache
public purgeImageCache ( )

purgeInternalCache() public method

Purge the internal cache
public purgeInternalCache ( )

purgePageCache() public method

Purge the page cache
public purgePageCache ( )

purgeScriptCache() public method

Purge the script cache
public purgeScriptCache ( )

purgeSearchCache() public method

Purge the search cache
public purgeSearchCache ( )

purgeSearchTables() public method

Purge the search tables
public purgeSearchTables ( )

purgeSystemLog() public method

Purge the system log
public purgeSystemLog ( )

purgeTempFolder() public method

Purge the temp folder
public purgeTempFolder ( )

purgeUndoTable() public method

Purge the undo table
public purgeUndoTable ( )

purgeVersionTable() public method

Purge the version table
public purgeVersionTable ( )

purgeXmlFiles() public method

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
return array An array of old XML files

rotateLogs() public method

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 ( )