���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/adimi/application/modules/dashboard/models/ |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Synchronizer_model extends CI_Model { public function create($data = array()) { return $this->db->insert('synchronizer_setting', $data); } public function read() { return $this->db->select('*') ->from('synchronizer_setting') ->get() ->row(); } public function check_exists() { $num_rows = $this->db->select('*') ->from('synchronizer_setting') ->get() ->num_rows(); if ($num_rows > 0) { return true; } else { return false; } } public function update($data = array()) { return $this->db->update("synchronizer_setting", $data); } }