You are here

function BotchaRecipeUsingJsAbstract::getJsPos in BOTCHA Spam Prevention 6.2

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

What position is the part of the token.

1 call to BotchaRecipeUsingJsAbstract::getJsPos()
BotchaRecipeUsingJsAbstract::getJsMatch in controller/botcha_recipe.controller.inc
What JS matches in the field.

File

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

Class

BotchaRecipeUsingJsAbstract

Code

function getJsPos() {
  return strlen($this
    ->getProperty($this->settings['fields'][0]['prefix'], 'getFieldPrefix'));
}