You are here

protected function BotchaRecipe::getFieldClass in BOTCHA Spam Prevention 7.3

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

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

protected function getFieldClass($delta) {

  // 'a' fix for Firefox - it breaks on ".<number>" class in CSS filter!
  return 'a' . substr($this
    ->getProperty($this->seed, 'getSeed'), 1, 4) . '_field';
}