![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Zend Framework
jasonhsh
这个作者很懒,什么都没留下…
展开
-
zend framework 框架中自定义父控制器
今天简单的聊聊ZF框架中的控制器。 大家都知道ZF中不可以使用__construct()构造方法,类的初始化操作需要用init()方法完成, 原因大部分朋友都应该了解,在php中,当子类有构造方法时,父类的构造方法不会被调用, 通过阅读zend/controller/Action.php的__construct()可以知道,它通过使用$this->init(),类似注入的方式,避免了这种情况转载 2012-07-12 17:14:17 · 486 阅读 · 0 评论 -
WITH ROLLUP在zend framework中的写法
Q:The SQL query in my web application(PHP/MySQL + Zend) uses a number of parameters to build the search query. However, the records fetched should be grouped by two columns to get sub totals. WITH转载 2012-10-12 16:05:22 · 327 阅读 · 0 评论