Commit Graph

64 Commits

Author SHA1 Message Date
thinkphp
5bc577b398 改进 2017-09-29 17:25:19 +08:00
thinkphp
add3ed098c 模板渲染异常处理 2017-09-29 17:22:29 +08:00
yinggaozhen
ef2f4c7e82 修改View->config返回值与注释不匹配问题 2017-08-03 11:29:14 +08:00
hooklife
5c4df0ce08 修改架构函数为 构造方法 2017-01-10 15:48:42 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
a223dd5aff 改进View类的root获取 2016-12-09 15:29:22 +08:00
thinkphp
08f648966c 修正View类的root解析 2016-12-09 15:11:18 +08:00
thinkphp
57d78c4dbd 继续修正 2016-12-08 17:15:33 +08:00
thinkphp
d585442eda 修正单元测试 2016-12-08 17:08:41 +08:00
thinkphp
3e22f21d34 增加默认模板替换字符串 __ROOT__ __STATIC__ __JS__ __CSS__ __URL__ 都不带域名 2016-12-08 17:03:32 +08:00
thinkphp
3ff97b4b1e View类增加share静态方法 用于静态赋值模板变量 2016-11-25 20:33:35 +08:00
thinkphp
8974a5d120 改进View类的assign方法 去掉多余代码 2016-09-14 17:30:16 +08:00
thinkphp
827edfc7b9 改进View类config方法 2016-09-09 10:25:09 +08:00
thinkphp
961b7c1bd0 View类增加config方法用于设置模板引擎参数 模板引擎驱动增加config接口方法 2016-09-08 17:03:25 +08:00
thinkphp
948d0ea0bb 改进驱动命名空间检测 2016-06-21 00:01:31 +08:00
thinkphp
a032828d5c 注释规范 2016-06-20 17:34:54 +08:00
thinkphp
30cec3abb1 取消驱动配置的namespace参数 2016-06-18 23:42:16 +08:00
thinkphp
188e64abf6 取消APP_HOOK常量 默认开启插件机制 2016-05-24 22:08:34 +08:00
thinkphp
30a6bd7e8a 改进Response类 改进view助手函数 增加 think\response\Html 类 2016-05-16 15:16:47 +08:00
thinkphp
23e085ecf1 优化View类对输出内容的替换 2016-04-30 15:32:22 +08:00
thinkphp
d8214cca48 改进Connection类的connect方法 2016-04-28 17:18:09 +08:00
thinkphp
305fdc0d8a 改进View类的instance方法 支持传入replace参数 2016-04-26 19:36:33 +08:00
thinkphp
4b1e88d0cb 改进View类engine方法 如果传入字符串 则表示模板引擎名称 模板引擎参数取默认值 增加 view_replace_str 配置参数 用于设置全局 视图输出内容替换 2016-04-26 17:39:20 +08:00
thinkphp
29d3d9e503 修正 2016-04-26 17:09:47 +08:00
thinkphp
7c74dd9591 改进view类 调整模板引擎的配置参数定义和传入方式 2016-04-26 17:00:55 +08:00
thinkphp
612a9cbae9 改进View类 2016-04-25 10:38:15 +08:00
thinkphp
da9c1a8a81 修正单元测试 删除controller类show方法 用 display方法替代 2016-04-18 18:08:08 +08:00
thinkphp
c2ef6cc883 View类和模板引擎驱动分离调整 模板主题功能取消 2016-04-18 15:32:18 +08:00
thinkphp
2a09d8d8db 修正 2016-04-18 10:58:20 +08:00
thinkphp
eed93e4d52 改进默认模板引擎的设置 如果没有设置 template.type 或者为空 默认为think 2016-03-16 23:36:04 +08:00
thinkphp
380ae28021 修正模板文件 2016-03-16 12:40:29 +08:00
thinkphp
3918ca3952 改进模板变量赋值 2016-03-15 23:10:59 +08:00
thinkphp
a496cf3198 修正单元测试 2016-03-15 22:27:16 +08:00
thinkphp
14d692dfcd 修正View类模板定位 2016-03-15 22:02:38 +08:00
thinkphp
a880485ace 改进View 避免手动初始化engine的时候 view_path为空值 2016-03-15 21:49:33 +08:00
thinkphp
3cbd5d1b7c 模板引擎参数采用template二级配置 2016-03-15 18:34:05 +08:00
thinkphp
f043633ff4 改进View类和Template类 简化模板主题(取消自动侦测) 当前主题作为view_path传入template 模板标签中可以使用 theme:controller/action 指定其他主题 或者 module@theme/controller/action 跨模块调用模板 2016-03-15 18:24:51 +08:00
thinkphp
d27c6d3bbd 继续改进 2016-03-14 22:02:21 +08:00
thinkphp
baa371cbe9 改进View类对模板引擎的初始化 2016-03-14 21:59:53 +08:00
thinkphp
06ba891ca4 View类优化 2016-03-14 14:02:37 +08:00
thinkphp
588875a1be View类engine参数更改为view_engine 避免冲突 2016-03-14 09:39:31 +08:00
thinkphp
47d09f2d0a 改进View类的模板引擎配置 2016-03-13 22:29:16 +08:00
thinkphp
eae63b56ec 改进View类 2016-03-13 22:18:07 +08:00
thinkphp
401466a389 修正 模板解析路径 2016-03-13 21:35:23 +08:00
thinkphp
168616bab8 View类的fetch方法 在关闭response自动输出的情况下 直接输出 controller类增加display方法作为fetch的别名方法 2016-03-05 11:50:20 +08:00
thinkphp
e16cb705ba model类的setField方法忽略数据副本 2016-02-21 11:37:28 +08:00
shuipf
0203b3cf38 Update View.php
修改$engine修饰符为public
2016-02-20 12:55:05 +08:00
thinkphp
b9d4c41efa 视图配置方法config支持获取某个配置的值 2016-02-20 12:44:02 +08:00
thinkphp
95a32467a5 支持 控制器分层的视图目录对应 如果需要区分可以手动传入 2016-02-16 21:45:33 +08:00