Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
36
application/models/Banner_group_model.php
Normal file
36
application/models/Banner_group_model.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Banner group model class
|
||||
*
|
||||
* Copyright (c) CIBoard <www.ciboard.co.kr>
|
||||
*
|
||||
* @author CIBoard (develop@ciboard.co.kr)
|
||||
*/
|
||||
|
||||
class Banner_group_model extends CB_Model
|
||||
{
|
||||
|
||||
/**
|
||||
* 테이블명
|
||||
*/
|
||||
public $_table = 'banner_group';
|
||||
|
||||
/**
|
||||
* 사용되는 테이블의 프라이머리키
|
||||
*/
|
||||
public $primary_key = 'bng_id'; // 사용되는 테이블의 프라이머리키
|
||||
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
||||
public function get_all_group()
|
||||
{
|
||||
$result = $this->get('', '', '', '', '', 'bng_name', 'ASC');
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user