摘要: In Yii, we can define an action class and ask the controller to instantiate it. And we always create ourselves actions class in rootPath/protected/extensions, and the view file we called in the actions class always are located in rootPath/protected/views/ControllerNAME or rootPath/themes/ThemeNAME/C 阅读全文
posted @ 2011-01-10 17:11 DavidHHuan 阅读(281) 评论(0) 推荐(0) 编辑
摘要: The order of loading preprocessorstemplate_preprocess- This is supplied by core and always added. The variables generated here are used for every templated hook.template_preprocess_hook- The module or core file that implements the theming hook supplies this. The initial generation of all the variabl 阅读全文
posted @ 2011-01-10 11:32 DavidHHuan 阅读(298) 评论(0) 推荐(0) 编辑