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