2022-10-18 15:04:47 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Mailman;
|
|
|
|
|
2022-10-20 02:15:28 +02:00
|
|
|
use App\Mailman\Actions\SettingIndexAction;
|
|
|
|
use App\Mailman\Actions\SettingSaveAction;
|
|
|
|
use App\Setting\LocalSettings;
|
2022-10-18 15:04:47 +02:00
|
|
|
|
2022-10-20 02:15:28 +02:00
|
|
|
class MailmanSettings extends LocalSettings
|
2022-10-18 15:04:47 +02:00
|
|
|
{
|
|
|
|
public ?string $base_url;
|
|
|
|
|
|
|
|
public ?string $username;
|
|
|
|
|
|
|
|
public ?string $password;
|
|
|
|
|
2022-10-20 03:22:50 +02:00
|
|
|
public bool $is_active;
|
|
|
|
|
2022-10-20 12:01:57 +02:00
|
|
|
public ?string $all_list;
|
|
|
|
|
|
|
|
public ?string $all_parents_list;
|
|
|
|
|
|
|
|
public ?string $active_leaders_list;
|
|
|
|
|
|
|
|
public ?string $passive_leaders_list;
|
|
|
|
|
2022-10-18 15:04:47 +02:00
|
|
|
public static function group(): string
|
|
|
|
{
|
|
|
|
return 'mailman';
|
|
|
|
}
|
2022-10-20 02:15:28 +02:00
|
|
|
|
|
|
|
public static function slug(): string
|
|
|
|
{
|
|
|
|
return 'mailman';
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function indexAction(): string
|
|
|
|
{
|
|
|
|
return SettingIndexAction::class;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function saveAction(): string
|
|
|
|
{
|
|
|
|
return SettingSaveAction::class;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function title(): string
|
|
|
|
{
|
|
|
|
return 'Mailman';
|
|
|
|
}
|
2022-10-18 15:04:47 +02:00
|
|
|
}
|