You are here

function recipe_get_latest in Recipe 5

Same name and namespace in other branches
  1. 6 recipe.module \recipe_get_latest()
  2. 7.2 recipe.module \recipe_get_latest()
  3. 7 recipe.module \recipe_get_latest()

Get the latest recipes

Return value

a database query result.

1 call to recipe_get_latest()
recipe_page in ./recipe.module
Menu Callback - created output for the main recipe page.

File

./recipe.module, line 1151
recipe.module - share recipes for drupal 5.x

Code

function recipe_get_latest($count = 0) {
  $tids = recipe_get_recipe_terms();
  return recipe_select_nodes($tids, 'or', 0, FALSE, $count);
}