function populate() { $obj = new Websetting(); $obj->get(); return $obj; }
function websetting() { $this->check_login(); $objs = new Websetting(); $objs->get(); $data = array('objs' => $objs); $this->load->view('admin/websetting', $data); }