public function BotchaRecipebookModel::getRecipebook in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 model/botcha_recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
- 6.3 model/recipebook/botcha.recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
- 7.2 model/botcha_recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
Overrides IBotchaRecipebookModel::getRecipebook
File
- model/
recipebook/ botcha.recipebook.model.inc, line 42 - Contains BotchaRecipebookModel class.
Class
Code
public function getRecipebook($id = 'default') {
$recipebooks = $this
->getRecipebooks();
return !empty($recipebooks[$id]) ? $recipebooks[$id] : NULL;
}