* [MOD] Improved import messages

* [MOD] Improved notifications handler
* [MOD] Code refactoring
* [FIX] Bugfixes
This commit is contained in:
nuxsmin
2018-03-06 18:16:07 +01:00
committed by Rubén D
parent 435bf3b810
commit e33ca35aa2
21 changed files with 260 additions and 156 deletions

View File

@@ -28,6 +28,7 @@ use DI\Container;
use Interop\Container\ContainerInterface;
use Klein\Klein;
use SP\Config\Config;
use SP\Config\ConfigData;
use SP\Core\Acl\Acl;
use SP\Core\Acl\UnauthorizedPageException;
use SP\Core\Events\EventDispatcher;
@@ -80,6 +81,10 @@ abstract class SimpleControllerBase
* @var Acl
*/
protected $acl;
/**
* @var ConfigData
*/
protected $configData;
/**
* SimpleControllerBase constructor.
@@ -97,6 +102,7 @@ abstract class SimpleControllerBase
$this->actionName = $actionName;
$this->config = $this->dic->get(Config::class);
$this->configData = $this->config->getConfigData();
$this->session = $this->dic->get(Session::class);
$this->theme = $this->dic->get(Theme::class);
$this->eventDispatcher = $this->dic->get(EventDispatcher::class);