Yii框架页面运行流程
Yii框架页面运行流程
CComponent
|
CModel
|
CActiveRecord、CFormModel(所有模型的父类)
|
表名.php(模型)
|
入口文件--------------------->XxxController------------------>xxx.php
|
Controller(所有控制器父类:components文件夹Controller.php)
|
CController(framework/web/CController.php)
|
CBaseController(framework/web/CBaseController.php)
|
CComponent(framework/base/CComponent.php)
Write the code ,change the world!