* [ADD] Added plugin controller

* [MOD] Code refactoring
* [FIX] Bugfixes
This commit is contained in:
nuxsmin
2018-03-06 14:21:45 +01:00
committed by Rubén D
parent 53aba99af1
commit 435bf3b810
46 changed files with 925 additions and 382 deletions

View File

@@ -56,7 +56,7 @@ class NotificationController extends ControllerBase implements CrudControllerInt
protected $notificationService;
/**
* @throws \SP\Core\Dic\ContainerException
* indexAction
*/
public function indexAction()
{
@@ -75,7 +75,6 @@ class NotificationController extends ControllerBase implements CrudControllerInt
* getSearchGrid
*
* @return $this
* @throws \SP\Core\Dic\ContainerException
*/
protected function getSearchGrid()
{
@@ -147,8 +146,6 @@ class NotificationController extends ControllerBase implements CrudControllerInt
/**
* Search action
*
* @throws \SP\Core\Dic\ContainerException
*/
public function searchAction()
{
@@ -361,8 +358,15 @@ class NotificationController extends ControllerBase implements CrudControllerInt
}
}
/**
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws \SP\Services\Auth\AuthException
*/
protected function initialize()
{
$this->checkLoggedIn();
$this->notificationService = $this->dic->get(NotificationService::class);
}
}