You are here

protected function BotchaRecipe::getFieldName in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getFieldName()
  2. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getFieldName()
  3. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getFieldName()
2 calls to BotchaRecipe::getFieldName()
BotchaRecipeHoneypot2::getFieldName in controller/recipe/botcha.recipe.controller.inc
BotchaRecipeObscureUrl::getFieldName in controller/recipe/botcha.recipe.controller.inc
3 methods override BotchaRecipe::getFieldName()
BotchaRecipeHoneypot2::getFieldName in controller/recipe/botcha.recipe.controller.inc
BotchaRecipeObscureUrl::getFieldName in controller/recipe/botcha.recipe.controller.inc
BotchaRecipeTimegate::getFieldName in controller/recipe/botcha.recipe.controller.inc

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

protected function getFieldName($delta) {
  return substr($this
    ->getProperty($this->seed, 'getSeed'), 0, 3) . '_name';
}