You are here

class BotchaRecipeControllerLogger in BOTCHA Spam Prevention 6.3

Same name and namespace in other branches
  1. 7.3 controller/recipe/decorator/logger/botcha.recipe.controller.logger.inc \BotchaRecipeControllerLogger

@file Contains BotchaRecipeControllerLogger class.

Decorator implementation for BotchaRecipe objects controller.

Hierarchy

Expanded class hierarchy of BotchaRecipeControllerLogger

File

controller/recipe/decorator/logger/botcha.recipe.controller.logger.inc, line 10
Contains BotchaRecipeControllerLogger class.

View source
class BotchaRecipeControllerLogger extends ControllerLogger implements IBotchaRecipeController {
  protected $app_name = 'Botcha';
  protected $controller_type = Botcha::CONTROLLER_TYPE_RECIPE;
  public function getRecipe($id, $create = TRUE) {
    return $this
      ->logCall('getRecipe', array(
      $id,
      $create,
    ));
  }
  public function getRecipes($reset = FALSE) {
    return $this
      ->logCall('getRecipes', array(
      $reset,
    ));
  }
  public function save($recipe) {
    return $this
      ->logCall('save', array(
      $recipe,
    ));
  }
  public function delete($recipe) {
    return $this
      ->logCall('delete', array(
      $recipe,
    ));
  }

}

Members