function getHTML() { $html = $this->prefix; if($this->getMessage($this->name)) $html .= '<div class="failure">'.$this->getMessage($this->name).'</div>'; $html .= ' <label for="'.$this->element_name.'"> '.$this->label.$this->required($this->name).' </label>'; $html .= ' <input class="text" type="text" value="'.$this->value.'" name="'.$this->element_name.'" '.$this->getAttributes($this->attributes).'> '.$this->params['extra_output']; $html .= $this->suffix; return $html; }
textbox_test: class: textBox params: extra_output: example of text after input