<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 功能強大 支持多語言、二開方便! 廣告
                # 插件類主文件 插件目錄在程序根目錄`public/plugins` ## 插件命名規范 插件類名采用大駝峰命名法,都帶 `Plugin`類名后綴,如 `DemoPlugin`,`CustomAdminLoginPlugin` 插件目錄名應該把插件類名轉化為小寫下劃線形式的,如 ` demo`,`custom_admin_login` 插件類主文件位于插件根目錄 命名格式:插件名+Plugin.php 在插件根目錄創建`DemoPlugin.php`文件,內容如下: ```php <?php // +---------------------------------------------------------------------- // | ThinkCMF [ WE CAN DO IT MORE SIMPLE ] // +---------------------------------------------------------------------- // | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved. // +---------------------------------------------------------------------- // | Author: Dean <zxxjjforever@163.com> // +---------------------------------------------------------------------- namespace plugins\demo;//Demo插件英文名,改成你的插件英文就行了 use cmf\lib\Plugin; //Demo插件英文名,改成你的插件英文就行了 class DemoPlugin extends Plugin { public $info = array( 'name' => 'Demo',//Demo插件英文名,改成你的插件英文就行了 'title' => '插件演示', 'description' => '插件演示', 'status' => 1, 'author' => 'ThinkCMF', 'version' => '1.0' ); public $hasAdmin = 1;//插件是否有后臺管理界面 // 插件安裝 public function install() { return true;//安裝成功返回true,失敗false } // 插件卸載 public function uninstall() { return true;//卸載成功返回true,失敗false } //實現的footer_start鉤子方法 public function footerStart($param) { $config = $this->getConfig(); $this->assign($config); echo $this->fetch('widget'); } } ```
                  <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>

                              哎呀哎呀视频在线观看