2024-06-27 00:00:29 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Fileshare;
|
|
|
|
|
2024-08-01 11:17:49 +02:00
|
|
|
use App\Fileshare\Models\Fileshare;
|
|
|
|
use App\Fileshare\Resources\FileshareResource;
|
2024-06-27 00:00:29 +02:00
|
|
|
use App\Setting\LocalSettings;
|
|
|
|
|
2024-08-01 11:32:14 +02:00
|
|
|
class FileshareSettings extends LocalSettings
|
2024-06-27 00:00:29 +02:00
|
|
|
{
|
|
|
|
public static function group(): string
|
|
|
|
{
|
|
|
|
return 'fileshare';
|
|
|
|
}
|
|
|
|
|
2024-08-01 11:17:49 +02:00
|
|
|
public static function title(): string
|
2024-06-27 00:00:29 +02:00
|
|
|
{
|
2024-08-01 11:17:49 +02:00
|
|
|
return 'Datei-Verbindungen';
|
2024-06-27 00:00:29 +02:00
|
|
|
}
|
|
|
|
|
2024-08-01 11:17:49 +02:00
|
|
|
/**
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
2024-08-02 13:16:43 +02:00
|
|
|
public function data()
|
2024-06-27 00:00:29 +02:00
|
|
|
{
|
2024-08-02 13:16:43 +02:00
|
|
|
return FileshareResource::collection(Fileshare::paginate(15));
|
2024-06-27 00:00:29 +02:00
|
|
|
}
|
|
|
|
}
|