You are here

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

Same name and namespace in other branches
  1. 6.3 model/form/botcha.form.model.inc \BotchaFormModel::getForm()
  2. 7.2 model/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 28
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;
}