You are here

function BotchaRecipe::getInfo in BOTCHA Spam Prevention 7.2

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

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

4 calls to BotchaRecipe::getInfo()
BotchaRecipe::__construct in controller/botcha_recipe.controller.inc
Magic method __construct.
BotchaRecipeNoResubmit::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.
BotchaRecipeTimegate::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.
BotchaRecipeUsingJsAbstract::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.
3 methods override BotchaRecipe::getInfo()
BotchaRecipeNoResubmit::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.
BotchaRecipeTimegate::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.
BotchaRecipeUsingJsAbstract::getInfo in controller/botcha_recipe.controller.inc
Used to get information about the recipe. Must be overridden.

File

controller/botcha_recipe.controller.inc, line 173
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

function getInfo() {
  $this->error_field = 'mail';
  $this->error_text = t('You must be a human, not a spam bot, to submit forms on this website.') . ' ' . t('If you insist that you are a human, please try again.') . ' ' . t('If error persists, contact webmaster using contact link at the bottom of this page and give all the details of this error (your browser, version, OS).');
}