function _recipe_get_tid_from_term in Recipe 5
Helper function for array map purposes.
Parameters
term the term object from which the tid will be extracted.:
@return the tid member of $term.
2 string references to '_recipe_get_tid_from_term'
- recipe_page in ./
recipe.module - Menu Callback - created output for the main recipe page.
- recipe_select_nodes in ./
recipe.module - Finds all nodes that match selected taxonomy conditions. This is just a copy of taxonomy_select_nodes() but includes node title field in the selection. Is this useful or try to find a taxonomy function to achieve this?
File
- ./
recipe.module, line 1345 - recipe.module - share recipes for drupal 5.x
Code
function _recipe_get_tid_from_term($term) {
return $term->tid;
}