function BotchaRecipe::setTitle in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::setTitle()
- 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::setTitle()
- 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::setTitle()
File
- controller/
botcha_recipe.controller.inc, line 93 - Controller layer of the BotchaRecipe objects.
Class
- BotchaRecipe
- Abstract class to describe recipe data structure.
Code
function setTitle($title) {
$this->title = $title;
// Save changed state.
Botcha::setRecipe($this);
return $this;
}