public function BotchaRecipeTimegate::getInfo in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeTimegate::getInfo()
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeTimegate::getInfo()
- 7.2 controller/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 940 - Controller layer of the BotchaRecipe objects.
Class
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.');
}