public static function BotchaRecipeModel::getRecipe in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 model/recipe/botcha.recipe.model.inc \BotchaRecipeModel::getRecipe()
- 7.2 model/botcha_recipe.model.inc \BotchaRecipeModel::getRecipe()
- 7.3 model/recipe/botcha.recipe.model.inc \BotchaRecipeModel::getRecipe()
1 call to BotchaRecipeModel::getRecipe()
- BotchaRecipe::getRecipe in controller/
botcha_recipe.controller.inc
File
- model/
botcha_recipe.model.inc, line 28 - Contains BotchaRecipeModel class.
Class
- BotchaRecipeModel
- @file Contains BotchaRecipeModel class.
Code
public static function getRecipe($id) {
$recipes = self::getRecipes();
return !empty($recipes[$id]) ? $recipes[$id] : NULL;
}