摘要: 为了让所写函数能够动态调用,我设计了这样一个函数: protected function _custom_list(&$model,$method,$param='') { //设置过滤 if (!empty($this->filters)){ $model->_setFilter($this->filters); if(!is_array($this->filters)) $p->parameter .= urlencode($this->filters) . "&";//分页跳转的时候保证查询... 阅读全文
posted @ 2013-03-17 12:58 kelite 阅读(892) 评论(0) 推荐(0) 编辑