海角不转弯

代码是梦想的砖

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月17日

摘要: 在Zend Framework中,我们经常会根据自己的要求自定义一些插件,一般有三种办法来进行加载:1.添加到index.php文件中定义前端控制器,注册一个插件1$frontController= Zend_Controller_front::getInstance();2$frontController->registerPlugin(newMyApp_Controller_Plugin_Smarty);如:Zend Framework整合Smarty2.直接添加在配置文件application/configs/application.ini中1resources.frontCont 阅读全文
posted @ 2013-04-17 19:50 海角不转弯 阅读(127) 评论(0) 推荐(0) 编辑