public static function BotchaRecipebookModel::getRecipebook in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 model/recipebook/botcha.recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
- 7.2 model/botcha_recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
- 7.3 model/recipebook/botcha.recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
1 call to BotchaRecipebookModel::getRecipebook()
File
- model/
botcha_recipebook.model.inc, line 28 - Contains BotchaRecipebookModel class.
Class
- BotchaRecipebookModel
- @file Contains BotchaRecipebookModel class.
Code
public static function getRecipebook($id) {
$recipebooks = BotchaRecipebookModel::getRecipebooks();
return !empty($recipebooks[$id]) ? $recipebooks[$id] : NULL;
}