摘要: 1.模板文件中访问view和controller,view : $this,controller :$this->context模板文件显示流程:1.控制器会在render中,把控制器本身,模板文件传给view2.呈现模板文件,首先view会查找主题,主题如果拥有模板文件,则优先使用主题内模板文件.... 阅读全文
posted @ 2014-07-31 22:47 zhepama 阅读(1840) 评论(0) 推荐(0) 编辑
摘要: "repositories": [ { "packagist": false }, { "type": "composer", "url": "https://packagist.org/" }], 阅读全文
posted @ 2014-07-31 06:52 zhepama 阅读(142) 评论(0) 推荐(0) 编辑