You are here

public function BotchaFormModel::getForm in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 model/botcha_form.model.inc \BotchaFormModel::getForm()
  2. 6.3 model/form/botcha.form.model.inc \BotchaFormModel::getForm()
  3. 7.2 model/botcha_form.model.inc \BotchaFormModel::getForm()

Overrides IBotchaFormModel::getForm

File

model/form/botcha.form.model.inc, line 43
Contains BotchaFormModel class.

Class

BotchaFormModel

Code

public function getForm($id) {
  $forms = $this
    ->getForms();
  return !empty($forms[$id]) ? $forms[$id] : NULL;
}