You are here

public function BotchaRecipeTimegate::getInfo in BOTCHA Spam Prevention 6.3

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeTimegate::getInfo()
  2. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipeTimegate::getInfo()
  3. 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeTimegate::getInfo()

Used to get information about the recipe. Must be overridden.

Overrides BotchaRecipe::getInfo

File

controller/recipe/botcha.recipe.controller.inc, line 923
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipeTimegate

Code

public function getInfo() {
  parent::getInfo();
  $this->description = t('Check time spended for submitting a form.') . ' ' . t('Bots submit form too fast.') . ' ' . t('Form is marked with timestamp which is checked during submit.');
  $this->error_text .= '<br />' . t('Form is submitted too fast.') . '<br />' . t('Please spend more time filling in the form.');
}