You are here

protected function BotchaRecipe::getSeed in BOTCHA Spam Prevention 7.3

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

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

protected function getSeed() {
  return md5(get_class($this) . substr($this->secret, 0, -4));
}