function view_custom_table_load_table in Views Custom Table 7
Function to load table information.
3 calls to view_custom_table_load_table()
- view_custom_table_custom_tables_views in ./
view_custom_table.admin.inc - Function to display all views used by a custom table.
- view_custom_table_custom_table_update_relations_form in ./
view_custom_table.admin.inc - Function to update custom table relations.
- view_custom_table_edit_custom_table_form in ./
view_custom_table.admin.inc - Function to edit custom table description.
File
- ./
view_custom_table.module, line 293 - view_custom_table.module
Code
function view_custom_table_load_table($table_id = NULL) {
$query = db_select('custom_table_view_data', 'ctvd')
->fields('ctvd')
->condition('id', $table_id);
$table_info = $query
->execute()
->fetchObject();
return $table_info;
}