Menu
extends Model
in package
uses
Sortable, HasFactory
Menu Model
This model manages navigation menu structure and configuration for the CICMS system. It stores menu items, hierarchy, URLs, targets, and display settings for website navigation and menu management.
Tags
Table of Contents
Properties
- $fillable : array<string|int, string>
- The attributes that are mass assignable.
Methods
- __construct() : void
- Create a new Menu model instance.
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, string>
$fillable
= ['parent_menu', 'menu_title', 'menu_url', 'target', 'sort_by', 'status', 'menu_type', 'created_by', 'updated_by', 'created_at', 'updated_at']
Methods
__construct()
Create a new Menu model instance.
public
__construct() : void
Sets the table name from configuration constants.