function BotchaRecipe::generateFormElements in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::generateFormElements()
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::generateFormElements()
- 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::generateFormElements()
Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo BotchaRecipe generateFormElements Switch from indexed array to associative.
3 calls to BotchaRecipe::generateFormElements()
- BotchaRecipe::applyRecipe in controller/
botcha_recipe.controller.inc - BotchaRecipeTimegate::generateFormElements in controller/
botcha_recipe.controller.inc - Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo BotchaRecipe generateFormElements Switch from indexed array to associative.
- BotchaRecipeUsingJsAbstract::generateFormElements in controller/
botcha_recipe.controller.inc - Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo BotchaRecipe generateFormElements Switch from indexed array to associative.
2 methods override BotchaRecipe::generateFormElements()
- BotchaRecipeTimegate::generateFormElements in controller/
botcha_recipe.controller.inc - Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo BotchaRecipe generateFormElements Switch from indexed array to associative.
- BotchaRecipeUsingJsAbstract::generateFormElements in controller/
botcha_recipe.controller.inc - Used to get information about the recipe. Must be overridden with calling to parent::generateFormElements. @todo BotchaRecipe generateFormElements Switch from indexed array to associative.
File
- controller/
botcha_recipe.controller.inc, line 302 - Controller layer of the BotchaRecipe objects.
Class
- BotchaRecipe
- Abstract class to describe recipe data structure.
Code
function generateFormElements() {
$css = $this
->getProperty($this->settings['css'], 'getCss');
if (!empty($css)) {
drupal_add_css('' . $this->settings['css'] . '', array(
'type' => 'inline',
));
}
return array();
}