Skip to content

Kirby 5.2.0

$database->validateTable()

Checks if a table exists in the current database

$database->validateTable(string $table): bool

Parameters

Name Type Default
$tablerequired string no default value

Return type

bool

This method modifies the existing $database object it is applied to and returns it again.

Parent class

Kirby\Database\Database