04 2012 档案

 
Zend Frame 添加Smarty模板引擎
摘要:1.创建ZF应用。2.将Zend 文件夹,Smarty文件夹 放入 library目录中3.在library 中创建 EXT/view/Smarty.php 文件 ,代码如下:<?php/** * Smarty template engine integration into Zend Framework * Some ideas borrowed from http://devzone.zend.com/article/120 */ class Ext_View_Smarty extends Zend_View_Abstract{ /** * Instance of Smart... 阅读全文
posted @ 2012-04-25 17:33 dormscript 阅读(208) 评论(0) 推荐(0)