You are here

class BotchaRecipeModelLogger in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 model/recipe/decorator/logger/botcha.recipe.model.logger.inc \BotchaRecipeModelLogger

@file Contains BotchaRecipeModelLogger class.

Decorator implementation for BotchaRecipe objects model.

Hierarchy

Expanded class hierarchy of BotchaRecipeModelLogger

File

model/recipe/decorator/logger/botcha.recipe.model.logger.inc, line 10
Contains BotchaRecipeModelLogger class.

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

}

Members