Initial import from local backup (Documents-Playground/pakerpale)
This commit is contained in:
18
homestead/application/models/ChannelModel.php
Normal file
18
homestead/application/models/ChannelModel.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
defined('BASEPATH') or exit('No direct script access allowed');
|
||||
|
||||
class ChannelModel extends MY_Model
|
||||
{
|
||||
|
||||
private $table = 'cm_curation_yt_channel';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->load->database();
|
||||
}
|
||||
|
||||
public function get() {
|
||||
return $this->db->get($this->table)->result();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user