You are here

public static function BotchaFormModel::getForm in BOTCHA Spam Prevention 7.2

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.3 model/form/botcha.form.model.inc \BotchaFormModel::getForm()
1 call to BotchaFormModel::getForm()
BotchaFormAbstract::getForm in controller/botcha_form.controller.inc
@todo BotchaForm getForm Description.

File

model/botcha_form.model.inc, line 36
Contains BotchaFormModel class.

Class

BotchaFormModel
@file Contains BotchaFormModel class.

Code

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