Contao\FormCaptcha::generate PHP Метод

generate() публичный Метод

Generate the widget and return it as string
public generate ( ) : string
Результат string The widget markup
    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);
    }