You are here

botcha.recipe.model.logger.inc in BOTCHA Spam Prevention 7.3

Same filename and directory in other branches
  1. 6.3 model/recipe/decorator/logger/botcha.recipe.model.logger.inc

Contains BotchaRecipeModelLogger class.

Decorator implementation for BotchaRecipe objects model.

File

model/recipe/decorator/logger/botcha.recipe.model.logger.inc
View source
<?php

/**
 * @file
 * Contains BotchaRecipeModelLogger class.
 *
 * Decorator implementation for BotchaRecipe objects model.
 */
class BotchaRecipeModelLogger extends ModelLogger implements IBotchaRecipeModel {
  protected $rtlns = array(
    BotchaModel::RELATION_RECIPE_RECIPEBOOK,
  );
  public function getRecipe($id) {
    return $this
      ->logCall('getRecipe', array(
      $id,
    ));
  }
  public function getRecipes($parameters = array()) {
    return $this
      ->logCall('getRecipes', array(
      $parameters,
    ));
  }
  public function save($recipe) {
    return $this
      ->logCall('save', array(
      $recipe,
    ));
  }

}

Classes

Namesort descending Description
BotchaRecipeModelLogger @file Contains BotchaRecipeModelLogger class.