class BotchaRecipeControllerLogger in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.3 controller/recipe/decorator/logger/botcha.recipe.controller.logger.inc \BotchaRecipeControllerLogger
@file Contains BotchaRecipeControllerLogger class.
Decorator implementation for BotchaRecipe objects controller.
Hierarchy
- class \BotchaRecipeControllerLogger extends \ControllerLogger implements IBotchaRecipeController
Expanded class hierarchy of BotchaRecipeControllerLogger
File
- controller/
recipe/ decorator/ logger/ botcha.recipe.controller.logger.inc, line 10 - Contains BotchaRecipeControllerLogger class.
View source
class BotchaRecipeControllerLogger extends ControllerLogger implements IBotchaRecipeController {
protected $app_name = 'Botcha';
protected $controller_type = Botcha::CONTROLLER_TYPE_RECIPE;
public function getRecipe($id, $create = TRUE) {
return $this
->logCall('getRecipe', array(
$id,
$create,
));
}
public function getRecipes($reset = FALSE) {
return $this
->logCall('getRecipes', array(
$reset,
));
}
public function save($recipe) {
return $this
->logCall('save', array(
$recipe,
));
}
public function delete($recipe) {
return $this
->logCall('delete', array(
$recipe,
));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BotchaRecipeControllerLogger:: |
protected | property | ||
BotchaRecipeControllerLogger:: |
protected | property | ||
BotchaRecipeControllerLogger:: |
public | function |
Overrides IBotchaRecipeController:: |
|
BotchaRecipeControllerLogger:: |
public | function |
Overrides IBotchaRecipeController:: |
|
BotchaRecipeControllerLogger:: |
public | function |
Overrides IBotchaRecipeController:: |
|
BotchaRecipeControllerLogger:: |
public | function |
Overrides IBotchaRecipeController:: |