botcha.form.model.logger.inc in BOTCHA Spam Prevention 6.3
Same filename and directory in other branches
Contains BotchaFormModelLogger class.
Decorator implementation for BotchaForm objects model.
File
model/form/decorator/logger/botcha.form.model.logger.incView 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
Name | Description |
---|---|
BotchaFormModelLogger | @file Contains BotchaFormModelLogger class. |