<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                <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="plugins.how.plugins.work.html" accesskey="P">Prev</a></td><td width="50%" align="center" valign="bottom">Chapter 16. Extending Smarty With Plugins</td><td width="25%" align="right" valign="bottom"><a href="plugins.writing.html" accesskey="N">Next</a></td></tr></table> # Naming Conventions[命名約定] Plugin files and functions must follow a very specific naming convention in order to be located by Smarty. 插件文件和函數必須遵循特定的命名約定以便Smarty識別。 > The plugin files must be named as follows: 插件文件必須命名如下: *type*.*name*.php Where type is one of these plugin types: 其中*type*為下面這些插件類型中的一種: - function - modifier - block - compiler - prefilter - postfilter - outputfilter - resource - insert And name should be a valid identifier; letters, numbers, and underscores only, see php variables [http://php.net/language.variables]. Some examples: function.html_select_date.php, resource.db.php, modifier.spacify.php *name*為合法標識符,僅包含字母、數字和下劃線的,查看[php變量](http://php.net/language.variables)。 舉例如下:function.html_select_date.php, resource.db.php, modifier.spacify.php。 > The plugin functions inside the plugin files must be named as follows: 插件內的函數應遵循如下命名約定: smarty_type, _name () The meanings of type and name are the same as above. An example modifier name foo would be function smarty_modifier_foo(). ***type***和*name*的含義同上。 舉例,調節器(modifier)命名為foo,那么按規則函數為smarty_modifier_foo()。 Smarty will output appropriate error messages if the plugin file it needs is not found, or if the file or the plugin function are named improperly. 如果指定的插件文件不存在或文件、函數命名不合規范,Smarty會輸出對應的錯誤信息。 <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="plugins.how.plugins.work.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="plugins.writing.html" accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">How Plugins Work<br/> 插件如何工作</td><td width="34%" align="center" valign="top"><a href="plugins.html" accesskey="U">Up</a></td><td width="33%" align="right" valign="top">Writing Plugins 編寫插件</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>

                              哎呀哎呀视频在线观看