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
2 calls to chado_get_publication()
- tripal_pub_get_pubs_by_dbxref in tripal_pub/
api/ tripal_pub.DEPRECATED.inc - tripal_pub_get_pub_by_uniquename in tripal_pub/
api/ tripal_pub.DEPRECATED.inc
3 string references to 'chado_get_publication'
- tripal_pub_get_pubs_by_dbxref in tripal_pub/
api/ tripal_pub.DEPRECATED.inc - tripal_pub_get_pubs_by_title_type_pyear_series in tripal_pub/
api/ tripal_pub.DEPRECATED.inc - tripal_pub_get_pub_by_uniquename in tripal_pub/
api/ tripal_pub.DEPRECATED.inc
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);
}