6 $tables = Query::create(
TableInformation,
"WHERE TABLE_SCHEMA=DATABASE() AND TABLE_TYPE='BASE TABLE' ORDER BY TABLE_TYPE, TABLE_NAME")->execute();
17 $options[$set->CHARACTER_SET_NAME] = $set->format(
"{CHARACTER_SET_NAME} - {DESCRIPTION}");
20 $form->dropdown(
"character_set",
"Convert to Character Set",
$options);
21 $form->required(
"character_set");
22 $form->submitLabel =
"Update Character Sets";
27 $table->column(
"Table Name",
"{TABLE_NAME}",
true)
28 ->column(
"Collation",
"{TABLE_COLLATION}",
true)
29 ->column(
"# Rows",
"{TABLE_ROWS}",
true,
"text-align: right");
34 $table->emptyMessage =
"Schema is empty";
35 $table->excelFile =
"table_list.xls";
37 $table->showSelectAll =
true;
49 trace(
"Updating character set for $table to $charset", 3);
static using()
Import the datamodels, views and manifest for the specified component(s).
static notify($message, $blocking=false, $button="OK", $onClick="null")
Utility method to display a notification message to the user when the page has finished loading.
static updateCharacterSet($table, $charset)
$method
Pull out a simple reference to the request method.