Skip to content

Kirby 6.0.0

$sql->tableName()

Validates and quotes a table name

$sql->tableName(string $table): string

Parameters

Name Type Default
$tablerequired string no default value

Return type

string

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException if an invalid table name is given

Parent class

Kirby\Database\Sql