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