yaf 模块与控制器

发布时间:2020-07-01 01:35:01 作者:skinglzw
来源:网络 阅读:710

http://yaf_demo.com/index/index/index

模块/控制器/动作

/modules/controller/action


E:\code\demo\application\controllers\User.php

http://yaf_demo.com/index/user/index


application.modules = "Index,User"
http://yaf_demo.com/user/user/index

E:\code\demo\application\modules\User\controllers\User.php

linux yaf 不识别驼峰,首字母大写,其他小写

(下面两行,访问不会报错)

http://yaf_demo.com/user/UserInfo/index

E:\code\demo\application\modules\User\controllers\Userinfo.php

http://yaf_demo.com/user/UserInfo/index

E:\code\demo\application\modules\User\controllers\UserInfo.php(这个访问时会报错)

E:\code\demo\application\modules\User\controllers\userInfo.php(这个访问时会报错)


application.dispatcher.defaultModule

application.dispatcher.defaultController

application.dispatcher.defaultAction


推荐阅读:
  1. kubernetes 控制器
  2. 深入AngularJS的控制器与指令

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

yaf 制器

上一篇:执行php程序的时候,报错Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes)

下一篇:Windows server 2012 利用ntdsutil工具实现AD角色转移及删除域控方法

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》