WireDatabaseBackup::getAllTables() method

Get array of all table names

Usage

// basic usage
$array = $backup->getAllTables();

// usage with all arguments
$array = $backup->getAllTables(bool $count = false, bool $cache = true);

Arguments

NameType(s)Description
$count (optional)bool

If true, returns array indexed by name with count of records as value

$cache (optional)bool

Allow use of cache?

Return value

array


$backup methods and properties

API reference based on ProcessWire core version 3.0.251