| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /wamp/www/simbada_2017/application/modules/inventaris_f/controllers/ |
Upload File : |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Inventaris_f extends Inventaris_Controller{
public function __construct()
{
parent::__construct();
$this->modul_name = 'inventaris_f';
$this->modul_display = 'Inventaris F - Konstruksi dalam Pengerjaan';
$this->view_daftar = 'inventarisf_view';
$this->view_form = 'inventarisf_form';
$this->report_daftar = 'Daftar KIB-F';
$this->report_form = 'Form KIB-F';
$this->load->model('inventarisf_model', 'data_model');
$this->message_aktivitas_dihapus = 'Data telah dihapus.';
$this->message_aktivitas_gagal_dihapus = 'Data tidak bisa dihapus.';
}
protected function validasi_form()
{
/* $this->form_validation->set_rules('nama', 'Nama Group', 'trim|required|max_length[100]|callback__cek_duplikasi');
$this->form_validation->set_message('required', '%s tidak boleh kosong.');
$this->form_validation->set_message('max_length', '%s tidak boleh melebihi %s karakter.');
$this->form_validation->set_message('min_length', '%s tidak boleh kurang dari %s karakter.');
$this->form_validation->set_message('_cek_duplikasi', '%s sudah ada.'); */
}
public function _cek_duplikasi()
{
// return $this->data_model->check_duplikasi_nama();
}
public function GetStatusTanah()
{
$keyword = $this->input->post('term', TRUE);
$this->data_model->GetStatusTanah($keyword);
}
}