GlobalSetting
extends Model
in package
uses
HasFactory
Global Setting Model
This model manages global system settings and configurations for the CICMS system. It stores website settings, contact information, social media links, email configurations, and branding elements for the entire application.
Tags
Table of Contents
Properties
- $fillable : array<string|int, string>
- The attributes that are mass assignable.
Methods
- __construct() : void
- Create a new GlobalSetting model instance.
Properties
$fillable
The attributes that are mass assignable.
protected
array<string|int, string>
$fillable
= ['copyright_text', 'footer_text', 'address', 'contact', 'email', 'facebook', 'twitter', 'instagram', 'google_map', 'yelp', 'foursquare', 'tripadvisor', 'footer_right_content', 'footer_left_content', 'site_logo', 'site_favicon', 'administrator_email', 'sender_name', 'sender_email', 'sending_method', 'smtp_host_name', 'smtp_port', 'required_auth', 'smtp_user_name', 'smtp_password', 'footer_logo', 'created_by', 'updated_by', 'created_at', 'updated_at']
Methods
__construct()
Create a new GlobalSetting model instance.
public
__construct() : void
Sets the table name from configuration constants.