You are here

protected function BotchaRecipeUsingJsAbstract::getJsName in BOTCHA Spam Prevention 7.3

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

Get name of JS-script, attached to field.

File

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

Class

BotchaRecipeUsingJsAbstract

Code

protected function getJsName() {

  // Must start with a literal.
  return 'a' . substr($this->secret, 0, 10) . substr($this
    ->getProperty($this->seed, 'getSeed'), 6, 8);
}