public function BotchaFormNone::__construct in BOTCHA Spam Prevention 7.3
Same name and namespace in other branches
- 6.2 controller/botcha_form.controller.inc \BotchaFormNone::__construct()
- 6.3 controller/form/botcha.form.controller.inc \BotchaFormNone::__construct()
- 7.2 controller/botcha_form.controller.inc \BotchaFormNone::__construct()
Overrides BotchaForm::__construct
File
- controller/
form/ botcha.form.controller.inc, line 213 - Controller layer of the BotchaForm objects.
Class
- BotchaFormNone
- Dummy class, created for data consistency and for interface unifying. When there is no form, this class is used as a handler. It has no logic at all - by design.
Code
public function __construct($form_id = NULL) {
$this->id = !empty($form_id) ? $form_id : 'none';
}