You are here

class BotchaFormControllerLogger in BOTCHA Spam Prevention 7.3

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

@file Contains BotchaFormControllerLogger class.

Decorator implementation for BotchaForm objects controller.

Hierarchy

Expanded class hierarchy of BotchaFormControllerLogger

File

controller/form/decorator/logger/botcha.form.controller.logger.inc, line 10
Contains BotchaFormControllerLogger class.

View source
class BotchaFormControllerLogger extends ControllerLogger implements IBotchaFormController {
  protected $app_name = 'Botcha';
  protected $controller_type = Botcha::CONTROLLER_TYPE_FORM;
  public function getForm($form_id, $create = TRUE) {
    return $this
      ->logCall('getForm', array(
      $form_id,
      $create,
    ));
  }
  public function getForms($reset = FALSE) {
    return $this
      ->logCall('getForms', array(
      $reset,
    ));
  }
  public function save($form) {
    return $this
      ->logCall('save', array(
      $form,
    ));
  }
  public function delete($form) {
    return $this
      ->logCall('delete', array(
      $form,
    ));
  }

}

Members