Skip to content

Commit

Permalink
readme调整
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jan 20, 2019
1 parent 7e3556b commit 570739d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# think-view

ThinkPHP 视图组件类
ThinkPHP 视图组件类 For thinkPHP5.2

## 主要特性

- 支持多种模板引擎切换
- 支持模板引擎驱动
- 支持直接使用PHP作为模板;
- 支持模板渲染规则;
- 支持输出过滤;
Expand Down Expand Up @@ -48,3 +48,5 @@ think\facade\View::assign(['name'=>'think']);
// 使用助手函数
view('index',['name'=>'think']);
~~~

如果你的控制器需要使用模板渲染,可以直接继承 think\ViewController 或者使用view助手函数。

0 comments on commit 570739d

Please sign in to comment.