You are here

function BotchaRecipe::setSetting in BOTCHA Spam Prevention 6.2

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

File

controller/botcha_recipe.controller.inc, line 152
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

function setSetting($key, $value) {
  $this->settings[$key] = $value;

  // Save changed state.
  Botcha::setRecipe($this);
  return $this;
}