public function BotchaRecipeController::save in BOTCHA Spam Prevention 6.3
Same name and namespace in other branches
- 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeController::save()
Overrides IBotchaRecipeController::save
File
- controller/
recipe/ botcha.recipe.controller.inc, line 43 - Controller layer of the BotchaRecipe objects.
Class
Code
public function save($recipe) {
// Save recipe to DB.
$this
->getModel()
->save($recipe);
// Return updated object to check results if necessary.
return $this
->getRecipe($recipe->id, FALSE);
}