class SettingsManager extends YATBaseTable

Class SettingsManager.

Livewire component for managing application settings.

Properties

string $model

The model class used by this component.

bool $showModal
bool $isEditing
int|null $editingId
string $group
string $key
string $label
string $value
string $type
string $description
string $settingOptions
protected $rules

Methods

void
settings()

Configure the table settings.

array
columns()

Define the table columns.

void
create()

Show the modal to create a new setting.

void
edit(int $id)

Show the modal to edit an existing setting.

void
save()

Save the setting.

void
delete(int $id)

Delete a setting.

Details

at line 70
void settings()

Configure the table settings.

Return Value

void

at line 91
array columns()

Define the table columns.

Return Value

array

at line 152
void create()

Show the modal to create a new setting.

Return Value

void

at line 165
void edit(int $id)

Show the modal to edit an existing setting.

Parameters

int $id

Return Value

void

at line 187
void save()

Save the setting.

Return Value

void

at line 222
void delete(int $id)

Delete a setting.

Parameters

int $id

Return Value

void