You are here

private static function Cleaner::cleanerGetCacheTables in Cleaner 7

Helper function for gathering all names of cache tables in DB.

Return value

array List of all cache tables names.

2 calls to Cleaner::cleanerGetCacheTables()
Cleaner::cleanerCacheClear in ./class.Cleaner.php
Cache tables clearing handler.
Cleaner::cleanerGetCacheTablesTable in ./class.Cleaner.php
Helper function for getting all cache tables list in the table format.

File

./class.Cleaner.php, line 38
Cleaner base class file.

Class

Cleaner
Class Cleaner.

Code

private static function cleanerGetCacheTables() {
  return db_query("SHOW TABLES LIKE 'cache%'")
    ->fetchCol();
}