public function generate()
{
return sprintf('<input type="%s" name="%s" id="ctrl_%s" class="text%s%s" value="%s"%s%s', $this->type, $this->strName, $this->strId, $this->hideInput ? ' password' : '', $this->strClass != '' ? ' ' . $this->strClass : '', \StringUtil::specialchars($this->value), $this->getAttributes(), $this->strTagEnding);
}