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

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

Generate the widget and return it as string
public generate ( ) : string
Результат string
    public function generate()
    {
        return sprintf('<input type="password" autocomplete="off" name="%s" id="ctrl_%s" class="tl_text tl_password%s" value="%s"%s onfocus="Backend.getScrollOffset()">%s%s', $this->strName, $this->strId, strlen($this->strClass) ? ' ' . $this->strClass : '', $this->varValue != '' ? '*****' : '', $this->getAttributes(), $this->wizard, strlen($this->description) && \Config::get('showHelp') && !$this->hasErrors() ? "\n  " . '<p class="tl_help tl_tip">' . $this->description . '</p>' : '');
    }