function tripal_add_chado_semweb_table
3.x tripal_chado.DEPRECATED.api.inc | tripal_add_chado_semweb_table($chado_table) |
Adds a new Chado table to the semantic web support for Chado.
Newly added tables (i.e. custom tables) need to be integrated into the semantic web infrastructure. After a new table is created and added to the Chado schema, this function should be called to indicate that the table should be included in the semantic web. No associations are made for the columns. The associations should be added using the tripal_associate_chado_semweb_term() function.
If the table has already been added previously then this function does nothing. It will not overwrite existing assocations.
Temporary tables (e.g. Tripal tables that begin with 'tripal_' and end with '_temp', are not supported.
Parameters
$chado_table: The name of the Chado table.
File
- tripal_chado/
api/ tripal_chado.DEPRECATED.api.inc, line 300 - These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.
Code
function tripal_add_chado_semweb_table($chado_table) {
chado_add_semweb_table($chado_table);
}