You are here

public function BotchaRecipebookController::save in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/recipebook/botcha.recipebook.controller.inc \BotchaRecipebookController::save()

Overrides IBotchaRecipebookController::save

File

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

Class

BotchaRecipebookController

Code

public function save($recipebook) {

  // Save recipe book to DB.
  $this
    ->getModel()
    ->save($recipebook);

  // Return updated object to check results if necessary.
  return $this
    ->getRecipebook($recipebook->id, FALSE);
}