<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之旅 廣告
                <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><th colspan="3" align="center">Smarty - the compiling PHP template engine</th></tr><tr><td width="25%" align="left" valign="bottom"><a href="language.function.debug.bi.html" accesskey="P">Prev</a></td> <td width="50%" align="center" valign="bottom">Chapter 7. Built-in Functions[第七章.內置函數]</td> <td width="25%" align="right" valign="bottom"><a href="language.function.for.html" accesskey="N">Next</a></td></tr></table> # {extends} 繼承 {extends} tags are used in child templates in template inheritance for extending parent templates. For details see section of Template Interitance. * The {extends} tag must be on the first line of the template. * If a child template extends a parent template with the {extends} tag it may contain only {block} tags. Any other template content is ignored. * Use the syntax for template resources to extend files outside of the $template_dir directory. {extends}標簽用在模板繼承中子模版對父模板的繼承。具體的細節參考[模板繼承](#)一節。 {extends}標簽用在模版中的第一行; 如果子模板用{extends}標簽繼承父模板,那么它只能包含{block}標簽(內容),其它任何模板內容都將忽略; 使用此語法為模板資源繼承$template_dir目錄外的文件。 **Attribute: ** | Attribute Name | Type | Required | Default | Description | |-----|-----|-----|-----|-----| | file | string | yes | *n/a* | The name of the template file which is extended | **屬性: ** | 屬性名 | 類型 | 是否必須 | 缺省值 | 描述 | |-----|-----|-----|-----|-----| | file | string | yes | *n/a* | 需繼承的模板名 | <table width="100%" border="0" cellpadding="0" cellspacing="0" class="EXAMPLE"><tr><td><div class="EXAMPLE"> <a name="AEN726" id="AEN726"> </a> <b><span class="PROGRAMLISTING">Example 7.26. Simple {extends} example</span><br/></b><strong>例 7-26.簡單的{extends} 模板</strong> <table border="0" bgcolor="#E0E0E0" width="100%"><tr><td><pre>{extends file='parent.tpl'}{extends 'parent.tpl'} {* short-hand *}</pre></td> </tr></table><p>See also Template Interitance and {block}.<br/> 參考<a href="advanced.features.tem.inheritance.html">模板繼承</a>與<a href="language.function.block.html">{block}</a>。<br/></p> </div></td> </tr></table> <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="language.function.debug.bi.html" accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="language.function.for.html" accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">{debug}<br/> 調試</td><td width="34%" align="center" valign="top"><a href="language.builtin.functions.html" accesskey="U">Up</a></td><td width="33%" align="right" valign="top">{for}</td></tr></table>
                  <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>

                              哎呀哎呀视频在线观看