美文网首页
十.后台品字形框架页面搭建

十.后台品字形框架页面搭建

作者: 张金宇 | 来源:发表于2016-09-22 23:32 被阅读0次

控制器:IndexController.class.php
操作方法:head() ,left(),main(),index()
在控制器IndexController.class.php中创建index(),head(),left(),main()方法

Paste_Image.png

在Admin/View/Index/下创建index.html,head.html,left.html,main.html
然后修改路径

Paste_Image.png Paste_Image.png Paste_Image.png

获取系统常量的函数get_defined_constants([true])
true参数会把常量进行自助分组显示

更改index.html的路径
常量CONTROLLER

Paste_Image.png Paste_Image.png

相关文章

网友评论

      本文标题:十.后台品字形框架页面搭建

      本文链接:https://www.haomeiwen.com/subject/qkjzettx.html