public function BotchaRecipeUsingJsAbstract::getCss in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeUsingJsAbstract::getCss()
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeUsingJsAbstract::getCss()
- 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
Code
public function getCss() {
$fields = $this
->getProperty($this->settings['fields'], 'getFields');
return 'div.' . $fields[0]['class'] . ' { display: none; visibility: hidden; }';
}