diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 6fb5150..8fb6dbb 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -46,7 +46,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/invoice-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } @@ -67,7 +67,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/invoice-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } @@ -88,7 +88,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/article-list'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } @@ -109,7 +109,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/article-create'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } @@ -130,7 +130,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/article-profile'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } @@ -151,7 +151,7 @@ final class BackendController extends Controller { $view = new View($this->app->l11nManager, $request, $response); $view->setTemplate('/Modules/Purchase/Theme/Backend/article-order-recommendation'); - $view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response)); + $view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1003001001, $request, $response); return $view; } diff --git a/Theme/Backend/analysis-dashboard.tpl.php b/Theme/Backend/analysis-dashboard.tpl.php index bc7c7ed..e838594 100755 --- a/Theme/Backend/analysis-dashboard.tpl.php +++ b/Theme/Backend/analysis-dashboard.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/article-create.tpl.php b/Theme/Backend/article-create.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/article-create.tpl.php +++ b/Theme/Backend/article-create.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/article-list.tpl.php b/Theme/Backend/article-list.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/article-list.tpl.php +++ b/Theme/Backend/article-list.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/article-order-pending-list.tpl.php b/Theme/Backend/article-order-pending-list.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/article-order-pending-list.tpl.php +++ b/Theme/Backend/article-order-pending-list.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/article-order-suggestion.tpl.php b/Theme/Backend/article-order-suggestion.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/article-order-suggestion.tpl.php +++ b/Theme/Backend/article-order-suggestion.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/article-single.tpl.php b/Theme/Backend/article-single.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/article-single.tpl.php +++ b/Theme/Backend/article-single.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/invoice-archive.tpl.php b/Theme/Backend/invoice-archive.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/invoice-archive.tpl.php +++ b/Theme/Backend/invoice-archive.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/invoice-create.tpl.php b/Theme/Backend/invoice-create.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/invoice-create.tpl.php +++ b/Theme/Backend/invoice-create.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/invoice-list.tpl.php b/Theme/Backend/invoice-list.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/invoice-list.tpl.php +++ b/Theme/Backend/invoice-list.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render(); diff --git a/Theme/Backend/invoice-single.tpl.php b/Theme/Backend/invoice-single.tpl.php index 00b91c5..21a3fef 100755 --- a/Theme/Backend/invoice-single.tpl.php +++ b/Theme/Backend/invoice-single.tpl.php @@ -15,4 +15,4 @@ declare(strict_types=1); /** * @var \phpOMS\Views\View $this */ -echo $this->getData('nav')->render(); +echo $this->data['nav']->render();