protected _create_table_attr ( array $attributes ) : string | ||
$attributes | array | Associative array of table attributes |
Résultat | string |
protected function _create_table_attr($attributes)
{
$sql = '';
foreach (array_keys($attributes) as $key) {
if (is_string($key)) {
$sql .= ' ' . strtoupper($key) . ' ' . $attributes[$key];
}
}
return $sql;
}