<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Class Phalcon\\Escaper # Class **Phalcon\\Escaper** *implements*[*Phalcon\\EscaperInterface*](#) Escapes different kinds of text securing them. By using this component you may prevent XSS attacks. This component only works with UTF-8. The PREG extension needs to be compiled with UTF-8 support. ``` <pre class="calibre14">``` <?php $escaper = new \Phalcon\Escaper(); $escaped = $escaper->escapeCss("font-family: <Verdana>"); echo $escaped; // font\2D family\3A \20 \3C Verdana\3E ``` ``` ### Methods public **setEncoding** (*unknown* $encoding) Sets the encoding to be used by the escaper ``` <pre class="calibre14">``` <?php $escaper->setEncoding('utf-8'); ``` ``` public **getEncoding** () Returns the internal encoding used by the escaper public **setHtmlQuoteType** (*unknown* $quoteType) Sets the HTML quoting type for htmlspecialchars ``` <pre class="calibre14">``` <?php $escaper->setHtmlQuoteType(ENT_XHTML); ``` ``` final public **detectEncoding** (*unknown* $str) Detect the character encoding of a string to be handled by an encoder Special-handling for chr(172) and chr(128) to chr(159) which fail to be detected by mb\_detect\_encoding() final public **normalizeEncoding** (*unknown* $str) Utility to normalize a string's encoding to UTF-32. public **escapeHtml** (*unknown* $text) Escapes a HTML string. Internally uses htmlspecialchars public **escapeHtmlAttr** (*unknown* $attribute) Escapes a HTML attribute string public **escapeCss** (*unknown* $css) Escape CSS strings by replacing non-alphanumeric chars by their hexadecimal escaped representation public **escapeJs** (*unknown* $js) Escape javascript strings by replacing non-alphanumeric chars by their hexadecimal escaped representation public **escapeUrl** (*unknown* $url) Escapes a URL. Internally uses rawurlencode | - [索引](# "總目錄") - [下一頁](# "Class Phalcon\Escaper\Exception") | - [上一頁](# "Abstract class Phalcon\Dispatcher") | - [API Indice](#) ?
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看