You are here

class BotchaFormModelLogger in BOTCHA Spam Prevention 6.3

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

@file Contains BotchaFormModelLogger class.

Decorator implementation for BotchaForm objects model.

Hierarchy

Expanded class hierarchy of BotchaFormModelLogger

File

model/form/decorator/logger/botcha.form.model.logger.inc, line 10
Contains BotchaFormModelLogger class.

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

}

Members