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

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                > 當view組件的`suffix`參數設置為`php`時,即表示使用原生的php模板,此時模板的后綴為`.php` > php原生模板的性能biubiubiu! ### 參數輸出 ~~~php <h1><?= $name; ?></h1> <h1><?= trim($name); ?></h1> ~~~ ### 流程控制 ~~~php <?php if ($a==$b): ?> <h1><?= $b; ?></h1> <?php elseif ($a==$c): ?> <h1><?= $c; ?></h1> <?php else: ?> <h1><?= $a; ?></h1> <?php endif; ?> ~~~ ~~~php <?php foreach($arr as $k => $v): ?> <li><?= $v; ?></li> <?php endforeach; ?> ~~~ 更多請查看php的流程控制替代語法 [http://php.net/manual/zh/control-structures.alternative-syntax.php](http://php.net/manual/zh/control-structures.alternative-syntax.php) ### 模板引用 定義視圖文件`head.php`: ~~~html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <title>歡迎使用Lying框架</title> </head> ~~~ 定義視圖文件`foot.php`: ~~~html </html> ~~~ 定義視圖文件`index.php`: ~~~php <?php require $this->resovePath('head'); ?> <h1>歡迎使用Lying</h1> <?php require $this->resovePath('foot'); ?> ~~~ 控制器: ~~~php <?php namespace module\index\controller; use lying\base\Controller; class IndexCtrl extends Controller { public function index() { return $this->render(); } } ~~~ 訪問`index`方法的渲染結果為: ~~~html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <title>歡迎使用Lying框架</title> </head> <body> <h1>歡迎使用Lying</h1> </body> </html> ~~~
                  <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>

                              哎呀哎呀视频在线观看