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