/** * Accepts a renderer * * @param HTML_QuickForm_Renderer $renderer An HTML_QuickForm_Renderer object * @param bool $required Whether a group is required * @param string $error An error message associated with a group */ public function accept(&$renderer, $required = false, $error = null) { if ($this->is_tagging_enabled()) { $renderer->renderElement($this, $required, $error); } else { $renderer->renderHidden($this); } }