You are here

public static function BotchaModel::getRecipesRecipebooks in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6.3 model/application/botcha.application.model.inc \BotchaModel::getRecipesRecipebooks()
  2. 7.2 model/botcha.model.inc \BotchaModel::getRecipesRecipebooks()
  3. 7.3 model/application/botcha.application.model.inc \BotchaModel::getRecipesRecipebooks()
1 call to BotchaModel::getRecipesRecipebooks()
Botcha::getRecipe in controller/botcha.controller.inc
Gets a recipe from cache. If it does not exists in cache - gets from database. If it does not exists there also - returns NULL.

File

model/botcha.model.inc, line 59

Class

BotchaModel

Code

public static function getRecipesRecipebooks($parameters = array()) {
  $parameters['mode'] = !empty($parameters['mode']) ? $parameters['mode'] : 'recipebook';
  return self::getRecipebooksRecipes($parameters);
}