You are here

protected function BotchaRecipe::getFieldPrefix in BOTCHA Spam Prevention 7.3

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

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

protected function getFieldPrefix($delta) {
  return substr($this
    ->getProperty($this->seed, 'getSeed'), 10, mt_rand(3, 6));
}