1 | <?php |
||
21 | class Settings extends FormAbstract |
||
22 | { |
||
23 | /** |
||
24 | * An instance of project model. |
||
25 | * |
||
26 | * @var Model\Settings |
||
27 | */ |
||
28 | protected $settings; |
||
29 | |||
30 | /** |
||
31 | * @return array |
||
32 | */ |
||
33 | 1 | public function actions() |
|
39 | |||
40 | /** |
||
41 | * @return array |
||
42 | */ |
||
43 | 1 | public function fields() |
|
55 | |||
56 | /** |
||
57 | * Select enable/disable for public projects. |
||
58 | * |
||
59 | * @param Model\Setting $setting |
||
60 | * |
||
61 | * @return array |
||
62 | */ |
||
63 | 1 | protected function fieldEnablePublicProjects(Model\Setting $setting) |
|
72 | |||
73 | /** |
||
74 | * Select enable/disable for public projects. |
||
75 | * |
||
76 | * @param Model\Setting $setting |
||
77 | * |
||
78 | * @return array |
||
79 | */ |
||
80 | 1 | protected function fieldDateFormat(Model\Setting $setting) |
|
99 | |||
100 | /** |
||
101 | * Select status tag for default first status. |
||
102 | * |
||
103 | * @param Model\Setting $setting |
||
104 | * |
||
105 | * @return array |
||
106 | */ |
||
107 | 1 | protected function fieldFirstStatusTag(Model\Setting $setting) |
|
116 | |||
117 | /** |
||
118 | * Select default language. |
||
119 | * |
||
120 | * @param Model\Setting $setting |
||
121 | * |
||
122 | * @return array |
||
123 | */ |
||
124 | 1 | protected function fieldLanguage(Model\Setting $setting) |
|
133 | |||
134 | /** |
||
135 | * @return array |
||
136 | */ |
||
137 | 1 | public function rules() |
|
144 | |||
145 | /** |
||
146 | * @return string |
||
147 | */ |
||
148 | public function getRedirectUrl() |
||
152 | } |
||
153 |
This check looks for function calls that miss required arguments.