class BotchaRecipeModelLogger in BOTCHA Spam Prevention 6.3
Same name and namespace in other branches
- 7.3 model/recipe/decorator/logger/botcha.recipe.model.logger.inc \BotchaRecipeModelLogger
@file Contains BotchaRecipeModelLogger class.
Decorator implementation for BotchaRecipe objects model.
Hierarchy
- class \BotchaRecipeModelLogger extends \ModelLogger implements IBotchaRecipeModel
Expanded class hierarchy of BotchaRecipeModelLogger
File
- model/
recipe/ decorator/ logger/ botcha.recipe.model.logger.inc, line 10 - Contains BotchaRecipeModelLogger class.
View source
class BotchaRecipeModelLogger extends ModelLogger implements IBotchaRecipeModel {
protected $rtlns = array(
BotchaModel::RELATION_RECIPE_RECIPEBOOK,
);
public function getRecipe($id) {
return $this
->logCall('getRecipe', array(
$id,
));
}
public function getRecipes($parameters = array()) {
return $this
->logCall('getRecipes', array(
$parameters,
));
}
public function save($recipe) {
return $this
->logCall('save', array(
$recipe,
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BotchaRecipeModelLogger:: |
protected | property | ||
BotchaRecipeModelLogger:: |
public | function |
Overrides IBotchaRecipeModel:: |
|
BotchaRecipeModelLogger:: |
public | function |
Overrides IBotchaRecipeModel:: |
|
BotchaRecipeModelLogger:: |
public | function |
Overrides IBotchaRecipeModel:: |