@@ 140-146 (lines=7) @@ | ||
137 | * @return null |
|
138 | * @access public |
|
139 | */ |
|
140 | public function store_selected_forums($key) |
|
141 | { |
|
142 | // Get selected extensions |
|
143 | $values = $this->request->variable($key, array(0 => '')); |
|
144 | $news = implode(',', $values); |
|
145 | $this->config->set($key, $news); |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * Wrapper method for controller_helper::route() |
@@ 205-214 (lines=10) @@ | ||
202 | * |
|
203 | * @return null |
|
204 | */ |
|
205 | public function store_filetypes($key, $module_id) |
|
206 | { |
|
207 | // Get selected extensions |
|
208 | $values = $this->request->variable($key, array(0 => '')); |
|
209 | ||
210 | $filetypes = implode(',', $values); |
|
211 | ||
212 | $this->config->set('board3_attachments_filetype_' . $module_id, $filetypes); |
|
213 | ||
214 | } |
|
215 | ||
216 | /** |
|
217 | * Parse template variables for module |