This commit is contained in:
Chris
2018-10-23 15:53:56 +01:00
parent abd8c7227d
commit 2b2d51cb6f
12 changed files with 916 additions and 3731 deletions

View File

@@ -30,5 +30,16 @@ class Application extends Model
return $class;
}
public static function applist()
{
$list = [];
$all = self::all();
$list['null'] = 'None';
foreach($all as $app) {
$list['\App\SupportedApps\\'.$app->name.'\\'.$app->name] = $app->name;
}
return $list;
}
}