function BotchaRecipebookAbstract::setForm in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 7.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::setForm()
1 call to BotchaRecipebookAbstract::setForm()
- BotchaRecipebookAbstract::getForms in controller/
botcha_recipebook.controller.inc - @todo BotchaRecipebook getForms Description.
File
- controller/
botcha_recipebook.controller.inc, line 184 - Controller layer of the BotchaRecipebook objects.
Class
- BotchaRecipebookAbstract
- @file Controller layer of the BotchaRecipebook objects.
Code
function setForm($form_id) {
$this->forms[$form_id] = $form_id;
// Save changed state.
Botcha::setRecipebook($this);
return $this;
}