48 $type = strtolower($this->type);
50 return "<input name=\"{$this->name}\" id=\"{$formName}-{$this->name}\" type=\"{$type}\" class=\"{$classes}\" value=\"{$value}\">\n";
$value
Input elements's value.
$formName
Name of the parent HTML form.
$classes
HTML classes attribute for rendering the input element.
$type
Input element type - HTML input type attribute.
htmlValue()
Returns HTML-rendered element value.
htmlClasses()
Returns string of the elements' HTML-classes, separated by spaces.
__toString()
Renders element to HTML.
Classes for HTML input-elements.