コード例 #1
0
ファイル: company_model.php プロジェクト: aidear/100event
 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;
 }
コード例 #2
0
ファイル: exhibition_model.php プロジェクト: aidear/100event
 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;
 }
コード例 #3
0
ファイル: album_model.php プロジェクト: aidear/100event
 function get_resource_list($alb_id)
 {
     $where['alb_id'] = $alb_id;
     return parent::get_list($where, $this->db->dbprefix("album_resource"));
 }