You are here

public function BotchaRecipebookModel::getRecipebook in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 model/botcha_recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
  2. 6.3 model/recipebook/botcha.recipebook.model.inc \BotchaRecipebookModel::getRecipebook()
  3. 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

BotchaRecipebookModel

Code

public function getRecipebook($id = 'default') {
  $recipebooks = $this
    ->getRecipebooks();
  return !empty($recipebooks[$id]) ? $recipebooks[$id] : NULL;
}