You are here

public function IBotchaFormController::getForm in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/form/botcha.form.controller.inc \IBotchaFormController::getForm()
2 methods override IBotchaFormController::getForm()
BotchaFormController::getForm in controller/form/botcha.form.controller.inc
Gets a form from cache. If it does not exists in cache - gets from database. If it does not exists there also - returns new form or BotchaFormNone depending on input parameter.
BotchaFormControllerLogger::getForm in controller/form/decorator/logger/botcha.form.controller.logger.inc

File

controller/form/botcha.form.controller.inc, line 9
Controller layer of the BotchaForm objects.

Class

IBotchaFormController
@file Controller layer of the BotchaForm objects.

Code

public function getForm($form_id, $create = TRUE);