You are here

function BotchaRecipe::__construct in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::__construct()
  2. 7.2 controller/botcha_recipe.controller.inc \BotchaRecipe::__construct()
  3. 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipe::__construct()

Magic method __construct.

File

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

Class

BotchaRecipe
Abstract class to describe recipe data structure.

Code

function __construct($id) {
  $this->id = $id;

  // Get human-readable description about this recipe
  // to clarify its work process.
  $this
    ->getInfo();
}