You are here

public function BotchaRecipeUsingJsAbstract::getCss in BOTCHA Spam Prevention 6.2

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

Should be overridden.

Return value

string

Overrides BotchaRecipe::getCss

1 call to BotchaRecipeUsingJsAbstract::getCss()
BotchaRecipeHoneypot2::getCss in controller/botcha_recipe.controller.inc
Should be overridden.
1 method overrides BotchaRecipeUsingJsAbstract::getCss()
BotchaRecipeHoneypot2::getCss in controller/botcha_recipe.controller.inc
Should be overridden.

File

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

Class

BotchaRecipeUsingJsAbstract

Code

public function getCss() {
  $fields = $this
    ->getProperty($this->settings['fields'], 'getFields');
  return 'div.' . $fields[0]['class'] . ' { display: none; visibility: hidden; }';
}