You are here

function BotchaRecipe::getField in BOTCHA Spam Prevention 7.2

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.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::getField()
2 calls to BotchaRecipe::getField()
BotchaRecipe::getFields in controller/botcha_recipe.controller.inc
BotchaRecipeUsingJsAbstract::getField in controller/botcha_recipe.controller.inc
1 method overrides BotchaRecipe::getField()
BotchaRecipeUsingJsAbstract::getField in controller/botcha_recipe.controller.inc

File

controller/botcha_recipe.controller.inc, line 247
Controller layer of the BotchaRecipe objects.

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

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),
  );
}