You are here

protected function BotchaFormController::getModel in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/form/botcha.form.controller.inc \BotchaFormController::getModel()

Just for IDE autocomplete feature.

Return value

BotchaFormModel

File

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

Class

BotchaFormController
Special class to abstract operations with form_id. It looks like additional layer of abstraction after DatabaseAbstractionLayer. It helps us to get necessary data - while we don't have to repeat ourselves in many places, writing queries to the…

Code

protected function getModel() {
  return parent::getModel();
}