public function text($mNameId, $size, $max = null, $sDefault = null, $sClass = null, $sPlaceholder = null, $iTabindex = null, $bDisabled = false, $sExtraHtml = null)
    {
        self::getNameAndId($mNameId, $sName, $sId);

        $res = '<input type="text" size="' . $size . '" name="' . $sName . '"';
        $res .= null === $sId ? '' : ' id="' . $sId . '"';
        $res .= null === $max ? '' : ' maxlength="' . $max . '"';
        $res .= null === $sDefault ? '' : ' value="' . $sDefault . '"';
        $res .= null === $sClass ? '' : ' class="' . $sClass . '"';
        $res .= null === $sPlaceholder ? '' : ' placeholder="' . $sPlaceholder . '"';
        $res .= null === $iTabindex ? '' : ' tabindex="' . $iTabindex . '"';
        $res .= $bDisabled ? ' disabled="disabled"' : '';
        $res .= $sExtraHtml;
        $res .= '>';

        return $res;
    }