十.后台品字形框架页面搭建
2016-09-22 本文已影响0人
张金宇
控制器:IndexController.class.php
操作方法:head() ,left(),main(),index()
在控制器IndexController.class.php中创建index(),head(),left(),main()方法

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



获取系统常量的函数get_defined_constants([true])
true参数会把常量进行自助分组显示
更改index.html的路径
常量CONTROLLER

