mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Add Filter util
This commit is contained in:
parent
6b8969516b
commit
063277d3e2
1 changed files with 61 additions and 0 deletions
61
app/Util/Media/Filter.php
Normal file
61
app/Util/Media/Filter.php
Normal file
|
@ -0,0 +1,61 @@
|
|||
<?php
|
||||
|
||||
namespace App\Util\Media;
|
||||
|
||||
class Filter {
|
||||
|
||||
public static $filters = [
|
||||
'1977' => 'filter-1977',
|
||||
'Aden' => 'filter-aden',
|
||||
'Amaro' => 'filter-amaro',
|
||||
'Ashby' => 'filter-ashby',
|
||||
'Brannan' => 'filter-brannan',
|
||||
'Brooklyn' => 'filter-brooklyn',
|
||||
'Charmes' => 'filter-charmes',
|
||||
'Clarendon' => 'filter-clarendon',
|
||||
'Crema' => 'filter-crema',
|
||||
'Dogpatch' => 'filter-dogpatch',
|
||||
'Earlybird' => 'filter-earlybird',
|
||||
'Gingham' => 'filter-gingham',
|
||||
'Ginza' => 'filter-ginza',
|
||||
'Hefe' => 'filter-hefe',
|
||||
'Helena' => 'filter-helena',
|
||||
'Hudson' => 'filter-hudson',
|
||||
'Inkwell' => 'filter-inkwell',
|
||||
'Kelvin' => 'filter-kelvin',
|
||||
'Kuno' => 'filter-juno',
|
||||
'Lark' => 'filter-lark',
|
||||
'Lo-Fi' => 'filter-lofi',
|
||||
'Ludwig' => 'filter-ludwig',
|
||||
'Maven' => 'filter-maven',
|
||||
'Mayfair' => 'filter-mayfair',
|
||||
'Moon' => 'filter-moon',
|
||||
'Nashville' => 'filter-nashville',
|
||||
'Perpetua' => 'filter-perpetua',
|
||||
'Poprocket' => 'filter-poprocket',
|
||||
'Reyes' => 'filter-reyes',
|
||||
'Rise' => 'filter-rise',
|
||||
'Sierra' => 'filter-sierra',
|
||||
'Skyline' => 'filter-skyline',
|
||||
'Slumber' => 'filter-slumber',
|
||||
'Stinson' => 'filter-stinson',
|
||||
'Sutro' => 'filter-sutro',
|
||||
'Toaster' => 'filter-toaster',
|
||||
'Valencia' => 'filter-valencia',
|
||||
'Vesper' => 'filter-vesper',
|
||||
'Walden' => 'filter-walden',
|
||||
'Willow' => 'filter-willow',
|
||||
'X-Pro II' => 'filter-xpro-ii'
|
||||
];
|
||||
|
||||
public static function classes()
|
||||
{
|
||||
return array_values(self::$filters);
|
||||
}
|
||||
|
||||
public static function names()
|
||||
{
|
||||
return array_keys(self::$filters);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue