src/Widgets/MultiTextWidget.php
public function generate()
    {
        $return = '';
        for ($i = 0; $i < $this->size; $i++) {
            $return .= sprintf(
                '<input type="%s" name="%s[]" id="ctrl_%s_%s" class="text%s%s" value="%s"%s%s',
                'text',
                $this->strName,
                $this->strId,
                $i,
                '',
                (strlen($this->strClass) ? ' ' . $this->strClass : ''),
                StringUtil::specialchars($this->varValue[$i]),
                $this->getAttributes(),
                $this->strTagEnding
            );
        }

        return $return;
    }
public function generate()
    {
        $return = '';
        for ($i = 0; $i < $this->size; $i++) {
            $return .= sprintf(
                '<input type="%s" name="%s[]" id="ctrl_%s_%s" class="text%s%s" value="%s"%s%s',
                'text',
                $this->strName,
                $this->strId,
                $i,
                '',
                (strlen($this->strClass) ? ' ' . $this->strClass : ''),
                StringUtil::specialchars($this->varValue[$i]),
                $this->getAttributes(),
                $this->strTagEnding
            );
        }

        return $return;
    }
Generate the widget and return it as string.

@return string