You are here

function BotchaRecipe::setStatus in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::setStatus()

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

function setStatus($status) {
  $this->status = $status;

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