Tripal
Functions
tripal_db.DEPRECATED.inc File Reference

Functions

 tripal_db_get_db ($select_values)
 
 tripal_db_get_db_by_db_id ($db_id)
 
 tripal_db_get_db_by_name ($name)
 
 tripal_db_get_db_options ()
 
 tripal_db_get_dbxref ($select_values)
 
 tripal_db_get_dbxref_by_accession ($accession, $db_id=0)
 
 tripal_db_add_db ($dbname, $description='', $url='', $urlprefix='', $update=0)
 
 tripal_db_add_dbxref ($db_id, $accession, $version='', $description='')
 
 tripal_db_add_dbxref_link ($linking_table, $dbxref_id, $foreignkey_name, $foreignkey_id)
 

Detailed Description

Wrapper functions to provide backwards compatibility for the tripal db api

Function Documentation

◆ tripal_db_add_db()

tripal_db_add_db (   $dbname,
  $description = '',
  $url = '',
  $urlprefix = '',
  $update = 0 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_insert_db().
See also
tripal_insert_db().

◆ tripal_db_add_dbxref()

tripal_db_add_dbxref (   $db_id,
  $accession,
  $version = '',
  $description = '' 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_insert_dbxref().
See also
tripal_insert_dbxref().

◆ tripal_db_add_dbxref_link()

tripal_db_add_dbxref_link (   $linking_table,
  $dbxref_id,
  $foreignkey_name,
  $foreignkey_id 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_associate_dbxref().
See also
tripal_associate_dbxref().

◆ tripal_db_get_db()

tripal_db_get_db (   $select_values)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db().
See also
tripal_get_db().

◆ tripal_db_get_db_by_db_id()

tripal_db_get_db_by_db_id (   $db_id)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db().
See also
tripal_get_db().

◆ tripal_db_get_db_by_name()

tripal_db_get_db_by_name (   $name)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db().
See also
tripal_get_db().

◆ tripal_db_get_db_options()

tripal_db_get_db_options ( )
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db_select_options().
See also
tripal_get_db_select_options().

◆ tripal_db_get_dbxref()

tripal_db_get_dbxref (   $select_values)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db().
See also
tripal_get_dbxref().

◆ tripal_db_get_dbxref_by_accession()

tripal_db_get_dbxref_by_accession (   $accession,
  $db_id = 0 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_db().
See also
tripal_get_dbxref().