function tripal_replace_chado_tokens
3.x tripal_chado.DEPRECATED.api.inc | tripal_replace_chado_tokens($string, $record) |
Replace all Chado Tokens in a given string.
NOTE: If there is no value for a token then the token is removed.
Parameters
string $string: The string containing tokens.
$record: A Chado record as generated by chado_generate_var()
Return value
The string will all tokens replaced with values.
File
- tripal_chado/
api/ tripal_chado.DEPRECATED.api.inc, line 68 - 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_replace_chado_tokens($string, $record) {
chado_replace_tokens($string, $record);
}