摘要: 控制器部分 1、一个控制器就是一组的逻辑结合相似的页面的组成的。 2、一个action就是一个控制器之中的一个方法。也就是一个页面。 3、几个组件 4、核心组建可以不需要导入直接使用即可。$components$helpers$uses 4、三个回调方法Controller::beforeFilter()Controller::beforeRender()Controller::afterFilter() 5、$this->set();为页面赋值 6、$this->render(); 7、$this->autoRenderto false 设置自动渲染 8、If$viewst 阅读全文
posted @ 2013-03-25 18:42 linksgo2011 阅读(203) 评论(0) 推荐(0)