You are here

public function BotchaRecipeUsingJsAbstract::getCss in BOTCHA Spam Prevention 7.3

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

Should be overridden.

Return value

string

Overrides BotchaRecipe::getCss

File

controller/recipe/botcha.recipe.controller.inc, line 557
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; }';
}