Skip to content

Kirby 4.5.0

$sql->tableName()

Validates and quotes a table name

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

Parameters

Name Type Default
$table * string

Return type

string

Exceptions

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

Parent class

Kirby\Database\Sql