Exemplo n.º 1
0
 function get_list($where = array())
 {
     $return = parent::get_list($where);
     foreach ($return as $key => $item) {
         $return[$key]['company_url'] = base_url("/company/index?id=" . $item['id']);
     }
     return $return;
 }
Exemplo n.º 2
0
 function get_list($where = array())
 {
     $return = parent::get_list($where);
     //需要修改 原来的代码设计是获取会展分类的
     foreach ($return as $key => $item) {
         $return[$key]['exhibition_url'] = base_url("/exhibition/index?id=" . $item['id']);
     }
     return $return;
 }
Exemplo n.º 3
0
 function get_resource_list($alb_id)
 {
     $where['alb_id'] = $alb_id;
     return parent::get_list($where, $this->db->dbprefix("album_resource"));
 }