You are here

botcha.form.model.logger.inc in BOTCHA Spam Prevention 6.3

Same filename and directory in other branches
  1. 7.3 model/form/decorator/logger/botcha.form.model.logger.inc

Contains BotchaFormModelLogger class.

Decorator implementation for BotchaForm objects model.

File

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

/**
 * @file
 * Contains BotchaFormModelLogger class.
 *
 * Decorator implementation for BotchaForm objects model.
 */
class BotchaFormModelLogger extends ModelLogger implements IBotchaFormModel {
  protected $rtlns = array(
    BotchaModel::RELATION_FORM_RECIPEBOOK,
  );
  public function getForm($form_id) {
    return $this
      ->logCall('getForm', array(
      $form_id,
    ));
  }
  public function getForms($parameters = array()) {
    return $this
      ->logCall('getForms', array(
      $parameters,
    ));
  }
  public function save($form) {
    return $this
      ->logCall('save', array(
      $form,
    ));
  }
  public function delete($form) {
    return $this
      ->logCall('delete', array(
      $form,
    ));
  }

}

Classes

Namesort descending Description
BotchaFormModelLogger @file Contains BotchaFormModelLogger class.