function BotchaRecipe::getSetting in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getSetting()
- 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getSetting()
- 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getSetting()
2 calls to BotchaRecipe::getSetting()
- BotchaRecipeObscureUrl::getJsValue in controller/
botcha_recipe.controller.inc - BotchaRecipeUsingJsAbstract::generateFormElements in controller/
botcha_recipe.controller.inc - Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo Switch from indexed array to associative.
File
- controller/
botcha_recipe.controller.inc, line 148 - Controller layer of the BotchaRecipe objects.
Class
- BotchaRecipe
- Abstract class to describe recipe data structure.
Code
function getSetting($key, $default = NULL) {
return !empty($this->settings[$key]) ? $this->settings[$key] : $default;
}