function chado_get_publication

2.x tripal_pub.DEPRECATED.inc chado_get_publication($identifiers, $options = array())
3.x tripal_chado.pub.api.inc chado_get_publication($identifiers, $options = array())

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_publication().

See also

tripal_get_publication().

2 calls to chado_get_publication()

File

tripal_pub/api/tripal_pub.DEPRECATED.inc, line 36
Wrapper functions to provide backwards compatibility for the tripal analysis api

Code

function chado_get_publication($identifiers, $options = array()) {

  tripal_report_error(
  'tripal_deprecated', 
  TRIPAL_NOTICE, 
  "DEPRECATED: %old_function has been replaced with %new_function. Please update your code.", 
  array(
    '%old_function' => 'chado_get_publication',
    '%new_function' => 'tripal_get_publication'
  )
  );

  return tripal_get_publication($identifiers, $options);
}