first commit
This commit is contained in:
commit
e81864e683
2984 files changed
+267797
No files matched your search
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Zuladungsliste\Utilities;
|
||||
|
||||
class Resources
|
||||
{
|
||||
public static function displaymenu()
|
||||
{
|
||||
return [
|
||||
['label' => 'Begründungen', 'id' => 'begruendung', 'ckecked' => false],
|
||||
['label' => 'Titel', 'id' => 'titel', 'ckecked' => false],
|
||||
['label' => 'Name', 'id' => 'name', 'ckecked' => true],
|
||||
['label' => 'Geburtsdatum', 'id' => 'geburtsdatum', 'ckecked' => true],
|
||||
['label' => 'Vereidigung', 'id' => 'vereidigung', 'ckecked' => true],
|
||||
['label' => 'Ältest Projekt in Wertung', 'id' => 'aeltesterEntscheidungstermin', 'ckecked' => false],
|
||||
['label' => 'Punkte', 'id' => 'punkte', 'ckecked' => true],
|
||||
['label' => 'Sperre', 'id' => 'sperre', 'ckecked' => true],
|
||||
['label' => 'Id', 'id' => 'id', 'ckecked' => false]
|
||||
];
|
||||
}
|
||||
|
||||
public static function sperren()
|
||||
{
|
||||
return [
|
||||
['id' => '1', 'label' => 'Default', 'value' => '0', 'selected' => true],
|
||||
['id' => '2', 'label' => '3 Monare', 'value' => '3'],
|
||||
['id' => '3', 'label' => '4 Monare', 'value' => '4'],
|
||||
['id' => '4', 'label' => '5 Monare', 'value' => '5'],
|
||||
['id' => '5', 'label' => '6 Monare', 'value' => '6'],
|
||||
['id' => '6', 'label' => '8 Monare', 'value' => '8'],
|
||||
['id' => '7', 'label' => '10 Monare', 'value' => '10'],
|
||||
['id' => '8', 'label' => '12 Monare', 'value' => '12'],
|
||||
['id' => '9', 'label' => '18 Monare', 'value' => '18'],
|
||||
['id' => '10', 'label' => '24 Monare', 'value' => '24'],
|
||||
];
|
||||
}
|
||||
|
||||
public static function bundeslaender()
|
||||
{
|
||||
return [
|
||||
'Burgenland',
|
||||
'Kärnten',
|
||||
'Niederösterreich',
|
||||
'Oberösterreich',
|
||||
'Salzburg',
|
||||
'Steiermark',
|
||||
'Tirol',
|
||||
'Vorarlberg',
|
||||
'Wien'
|
||||
];
|
||||
}
|
||||
|
||||
public static function years()
|
||||
{
|
||||
$arr = range(2012, date('Y'));
|
||||
rsort($arr);
|
||||
return $arr;
|
||||
}
|
||||
|
||||
|
||||
public static function next()
|
||||
{
|
||||
return[
|
||||
['id' => '1', 'label' => 'Nächste(r)'],
|
||||
['id' => '2', 'label' => 'Nächsten Zwei'] ,
|
||||
['id' => '3', 'label' => 'Nächsten Drei'] ,
|
||||
['id' => '4', 'label' => 'Nächsten Vier'] ,
|
||||
['id' => '5', 'label' => 'Nächsten Fünf'] ,
|
||||
['id' => '6', 'label' => 'Nächsten Sechs']
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user