<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 功能強大 支持多語言、二開方便! 廣告
                ### 自動加載 > composer.json ~~~ "autoload": { "psr-4": { "Application\\": "module/Application/src/", "Album\\": "module/Album/src/", "Blog\\": "module/Blog/src/" } } ~~~ 執行 ~~~ composer dump-autoload ~~~ ### 模塊管理器 > module/Blog/src/Module.php ~~~ <?php namespace Blog; class Module { public function getConfig() { return include __DIR__ . '/../config/module.config.php'; } } ~~~ **模塊配置** > module/Blog/config/module.config.php ~~~ <?php namespace Blog; use Zend\Router\Http\Literal; use Zend\ServiceManager\Factory\InvokableFactory; return [ // This lines opens the configuration for the RouteManager 'router' => [ // Open configuration for all possible routes 'routes' => [ // Define a new route called "blog" 'blog' => [ // Define a "literal" route type: 'type' => Literal::class, // Configure the route itself 'options' => [ // Listen to "/blog" as uri: 'route' => '/blog', // Define default controller and action to be called when // this route is matched 'defaults' => [ 'controller' => Controller\ListController::class, 'action' => 'index', ], ], ], ], ], 'controllers' => [ 'factories' => [ Controller\ListController::class => InvokableFactory::class, ], ], 'view_manager' => [ 'template_path_stack' => [ __DIR__ . '/../view', ], ], ]; ~~~ ### 控制器 > [module/Blog/src/Controller/ListController.php](https://gitee.com/netjoin/zendframework3-demo/blob/master/module/Blog/src/Controller/ListController.php) ~~~ <?php namespace Blog\Controller; use Zend\Mvc\Controller\AbstractActionController; class ListController extends AbstractActionController { } ~~~ **視圖** > [module/Blog/view/blog/list/index.phtml](https://gitee.com/netjoin/zendframework3-demo/blob/master/module/Blog/view/blog/list/index.phtml) ~~~ <h1>Blog\ListController::indexAction()</h1> ~~~
                  <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>

                              哎呀哎呀视频在线观看