first commit

This commit is contained in:
root
2025-05-14 12:02:52 +07:00
commit 0a0931cbfe
2342 changed files with 839982 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
class M_menu extends CI_Model {
function index() {
//$this->db->order_by('mm_urutan', 'ASC');
$query = $this->db->get('master_menu');
return $query->result();
}
function urutan() {
$this->db->order_by('mm_urutan', 'ASC');
$query = $this->db->get('master_menu');
return $query->result();
}
function hakakses($id) {
$this->db->where('mum_tipeuser_id', $id);
$query = $this->db->get('master_user_menu');
return $query->result();
}
}
?>