You are here

class BotchaRecipebookModelLogger in BOTCHA Spam Prevention 6.3

Same name and namespace in other branches
  1. 7.3 model/recipebook/decorator/logger/botcha.recipebook.model.logger.inc \BotchaRecipebookModelLogger

@file Contains BotchaRecipebookModelLogger class.

Decorator implementation for BotchaRecipebook objects model.

Hierarchy

Expanded class hierarchy of BotchaRecipebookModelLogger

File

model/recipebook/decorator/logger/botcha.recipebook.model.logger.inc, line 10
Contains BotchaRecipebookModelLogger class.

View source
class BotchaRecipebookModelLogger extends ModelLogger implements IBotchaRecipebookModel {
  protected $rtlns = array(
    BotchaModel::RELATION_FORM_RECIPEBOOK,
    BotchaModel::RELATION_RECIPE_RECIPEBOOK,
  );
  public function getRecipebooks($parameters = array()) {
    return $this
      ->logCall('getRecipebooks', array(
      $parameters,
    ));
  }
  public function getRecipebook($id = 'default') {
    return $this
      ->logCall('getRecipebook', array(
      $id,
    ));
  }
  public function save($recipebook) {
    return $this
      ->logCall('save', array(
      $recipebook,
    ));
  }
  public function delete($recipebook) {
    return $this
      ->logCall('delete', array(
      $recipebook,
    ));
  }

}

Members