1 | <?php |
||
17 | class Settings extends Controller |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * Route page callback to display the module settings page |
||
22 | */ |
||
23 | public function editSettings() |
||
35 | |||
36 | /** |
||
37 | * Returns an array of available CodeMirror syntax modes |
||
38 | * @return array |
||
39 | */ |
||
40 | protected function getLibraryModesSettings() |
||
51 | |||
52 | /** |
||
53 | * Returns an array of available CodeMirror themes |
||
54 | * @return array |
||
55 | */ |
||
56 | protected function getLibraryThemesSettings() |
||
68 | |||
69 | /** |
||
70 | * Set title on the module settings page |
||
71 | */ |
||
72 | protected function setTitleEditSettings() |
||
77 | |||
78 | /** |
||
79 | * Set breadcrumbs on the module settings page |
||
80 | */ |
||
81 | protected function setBreadcrumbEditSettings() |
||
97 | |||
98 | /** |
||
99 | * Saves the submitted settings |
||
100 | */ |
||
101 | protected function submitSettings() |
||
107 | |||
108 | /** |
||
109 | * Validate submitted module settings |
||
110 | */ |
||
111 | protected function validateSettings() |
||
117 | |||
118 | /** |
||
119 | * Update module settings |
||
120 | */ |
||
121 | protected function updateSettings() |
||
127 | |||
128 | /** |
||
129 | * Render and output the module settings page |
||
130 | */ |
||
131 | protected function outputEditSettings() |
||
135 | |||
136 | } |
||
137 |