1 | <?php |
||
17 | class Settings extends Controller |
||
18 | { |
||
19 | /** |
||
20 | * Route page callback to display the module settings page |
||
21 | */ |
||
22 | public function editSettings() |
||
33 | |||
34 | /** |
||
35 | * Returns an array of languages |
||
36 | * @return array |
||
37 | */ |
||
38 | protected function getLanguagesSettings() |
||
43 | |||
44 | /** |
||
45 | * Set title on the module settings page |
||
46 | */ |
||
47 | protected function setTitleEditSettings() |
||
52 | |||
53 | /** |
||
54 | * Set breadcrumbs on the module settings page |
||
55 | */ |
||
56 | protected function setBreadcrumbEditSettings() |
||
72 | |||
73 | /** |
||
74 | * Saves the submitted settings |
||
75 | */ |
||
76 | protected function submitSettings() |
||
82 | |||
83 | /** |
||
84 | * Validate submitted module settings |
||
85 | * @return bool |
||
86 | */ |
||
87 | protected function validateSettings() |
||
92 | |||
93 | /** |
||
94 | * Update module settings |
||
95 | */ |
||
96 | protected function updateSettings() |
||
102 | |||
103 | /** |
||
104 | * Render and output the module settings page |
||
105 | */ |
||
106 | protected function outputEditSettings() |
||
110 | |||
111 | } |
||
112 |