示例#1
0
 function update()
 {
     $params = $this->input->post();
     $obj = new Websetting();
     $obj->where('id', $params['id'])->update($params);
     echo $obj->check_last_query();
 }
示例#2
0
 function populate()
 {
     $obj = new Websetting();
     $obj->get();
     return $obj;
 }
示例#3
0
 function websetting()
 {
     $this->check_login();
     $objs = new Websetting();
     $objs->get();
     $data = array('objs' => $objs);
     $this->load->view('admin/websetting', $data);
 }