sonarrradarrplexorganizrnginxdashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
558 B
28 lines
558 B
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Symfony\Component\ClassLoader\ClassMapGenerator;
|
|
|
|
|
|
|
|
class Item extends Model
|
|
{
|
|
//
|
|
protected $fillable = [
|
|
'title', 'url', 'colour', 'icon', 'description', 'pinned'
|
|
];
|
|
|
|
public static function supportedList()
|
|
{
|
|
return [
|
|
'NZBGet' => App\SupportedApps\Nzbget::class,
|
|
'Plex' => App\SupportedApps\Plex::class,
|
|
];
|
|
}
|
|
public static function supportedOptions()
|
|
{
|
|
return array_keys(self::supportedList());
|
|
}
|
|
}
|
|
|