You are here

public function BotchaFormNone::getRecipebook in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 controller/botcha_form.controller.inc \BotchaFormNone::getRecipebook()
  2. 6.3 controller/form/botcha.form.controller.inc \BotchaFormNone::getRecipebook()
  3. 7.3 controller/form/botcha.form.controller.inc \BotchaFormNone::getRecipebook()

@todo BotchaForm getRecipebook Description.

Return value

BotchaRecipebook

Overrides BotchaFormAbstract::getRecipebook

File

controller/botcha_form.controller.inc, line 185
Controller layer of the BotchaForm objects.

Class

BotchaFormNone
Dummy class, created for data consistency and for interface unifying. When there is no form, this class is used as a handler. It has no logic at all - by design.

Code

public function getRecipebook() {
  return new BotchaRecipebookNone();
}