You are here

class BotchaRecipebookControllerLogger in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/recipebook/decorator/logger/botcha.recipebook.controller.logger.inc \BotchaRecipebookControllerLogger

@file Contains BotchaRecipebookControllerLogger class.

Decorator implementation for BotchaRecipebook objects controller.

Hierarchy

Expanded class hierarchy of BotchaRecipebookControllerLogger

File

controller/recipebook/decorator/logger/botcha.recipebook.controller.logger.inc, line 10
Contains BotchaRecipebookControllerLogger class.

View source
class BotchaRecipebookControllerLogger extends ControllerLogger implements IBotchaRecipebookController {
  protected $app_name = 'Botcha';
  protected $controller_type = Botcha::CONTROLLER_TYPE_RECIPEBOOK;
  public function getRecipebooks($reset = FALSE) {
    return $this
      ->logCall('getRecipebooks', array(
      $reset,
    ));
  }
  public function getRecipebook($id = 'default', $create = TRUE) {
    return $this
      ->logCall('getRecipebook', array(
      $id,
      $create,
    ));
  }
  public function save($recipebook) {
    return $this
      ->logCall('save', array(
      $recipebook,
    ));
  }
  public function delete($recipebook) {
    return $this
      ->logCall('delete', array(
      $recipebook,
    ));
  }

}

Members