protected function BotchaRecipe::getFields in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getFields()
- 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getFields()
- 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getFields()
1 call to BotchaRecipe::getFields()
- BotchaRecipe::getDefaultSettings in controller/
recipe/ botcha.recipe.controller.inc - Used to get default recipe data structure. @todo ?Do we need it?
File
- controller/
recipe/ botcha.recipe.controller.inc, line 301 - Controller layer of the BotchaRecipe objects.
Class
- BotchaRecipe
- Abstract class to describe recipe data structure.
Code
protected function getFields() {
$fields_count = $this
->getFieldCount();
$fields = array();
for ($i = 0; $i < $fields_count; $i++) {
$fields[$i] = $this
->getField($i);
}
return $fields;
}