You are here

public function BotchaRecipebook::setRecipe in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/recipebook/botcha.recipebook.controller.inc \BotchaRecipebook::setRecipe()
1 call to BotchaRecipebook::setRecipe()
BotchaRecipebook::getRecipes in controller/recipebook/botcha.recipebook.controller.inc
@todo BotchaRecipebook getRecipes Description.

File

controller/recipebook/botcha.recipebook.controller.inc, line 153
Controller layer of the BotchaRecipebook objects.

Class

BotchaRecipebook

Code

public function setRecipe($recipe_id) {
  $this->recipes[$recipe_id] = $recipe_id;
  return $this;
}