function data_ui_view_schema in Data 6
Same name and namespace in other branches
- 7 data_ui/data_ui.admin.inc \data_ui_view_schema()
View table with krumo().
1 string reference to 'data_ui_view_schema'
- data_ui_menu in data_ui/
data_ui.module - Implementation of hook_menu()
File
- data_ui/
data_ui.admin.inc, line 848 - Admin UI functions.
Code
function data_ui_view_schema($table) {
drupal_set_title(check_plain($table
->get('title')));
$output = '<H3>' . t('Schema') . '</H3>';
$output .= kprint_r($table
->get('table_schema'), TRUE);
if ($meta = $table
->get('meta')) {
$output .= '<H3>' . t('Meta info') . '</H3>';
$output .= kprint_r($table
->get('meta'), TRUE);
}
return $output;
}