You are here

public function BotchaRecipe::getSetting in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getSetting()
  2. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getSetting()
  3. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getSetting()
1 call to BotchaRecipe::getSetting()
BotchaRecipeObscureUrl::getJsValue in controller/recipe/botcha.recipe.controller.inc

File

controller/recipe/botcha.recipe.controller.inc, line 159
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

public function getSetting($key, $default = NULL) {
  return !empty($this->settings[$key]) ? $this->settings[$key] : $default;
}