You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
448 B
PHTML
17 lines
448 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace Controllers\Settings;
|
||
|
|
||
|
|
||
|
use BusinessLogic\Settings\SettingsRetriever;
|
||
|
|
||
|
class SettingsController {
|
||
|
function get() {
|
||
|
global $applicationContext, $hesk_settings, $modsForHesk_settings;
|
||
|
|
||
|
/* @var $settingsRetriever SettingsRetriever */
|
||
|
$settingsRetriever = $applicationContext->get[SettingsRetriever::class];
|
||
|
|
||
|
output($settingsRetriever->getAllSettings($hesk_settings, $modsForHesk_settings));
|
||
|
}
|
||
|
}
|