public function BotchaRecipebookNone::__construct in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6.3 controller/recipebook/botcha.recipebook.controller.inc \BotchaRecipebookNone::__construct()
- 7.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookNone::__construct()
- 7.3 controller/recipebook/botcha.recipebook.controller.inc \BotchaRecipebookNone::__construct()
Overrides BotchaRecipebookAbstract::__construct
File
- controller/
botcha_recipebook.controller.inc, line 480 - Controller layer of the BotchaRecipebook objects.
Class
- BotchaRecipebookNone
- Dummy class, created for data consistency and for interface unifying. When there is no recipe book binded to form, this class is used as a handler. It has no logic at all - by design.
Code
public function __construct($id = NULL) {
$this->id = 'none';
$this->title = 'None';
}