You are here

protected function BotchaRecipe::getField in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getField()
  2. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getField()
  3. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::getField()
2 calls to BotchaRecipe::getField()
BotchaRecipe::getFields in controller/recipe/botcha.recipe.controller.inc
BotchaRecipeUsingJsAbstract::getField in controller/recipe/botcha.recipe.controller.inc
1 method overrides BotchaRecipe::getField()
BotchaRecipeUsingJsAbstract::getField in controller/recipe/botcha.recipe.controller.inc

File

controller/recipe/botcha.recipe.controller.inc, line 312
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

protected function getField($delta) {
  return array(
    'name' => $this
      ->getProperty($this->settings['fields'][$delta]['name'], 'getFieldName', $delta),
    'class' => $this
      ->getProperty($this->settings['fields'][$delta]['class'], 'getFieldClass', $delta),
    'prefix' => $this
      ->getProperty($this->settings['fields'][$delta]['prefix'], 'getFieldPrefix', $delta),
  );
}