mirror of
https://github.com/Karaka-Management/oms-ResearchDevelopment.git
synced 2026-01-20 09:18:41 +00:00
Continue with getter/setter cleanup
This commit is contained in:
parent
a4b8b5c58e
commit
c9892b9121
|
|
@ -45,7 +45,7 @@ final class BackendController extends Controller
|
|||
{
|
||||
$view = new View($this->app->l11nManager, $request, $response);
|
||||
$view->setTemplate('/Modules/ResearchDevelopment/Theme/Backend/rnd-list');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1002202001, $request, $response));
|
||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1002202001, $request, $response);
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@ final class BackendController extends Controller
|
|||
{
|
||||
$view = new View($this->app->l11nManager, $request, $response);
|
||||
$view->setTemplate('/Modules/ResearchDevelopment/Theme/Backend/rnd-create');
|
||||
$view->addData('nav', $this->app->moduleManager->get('Navigation')->createNavigationMid(1002202001, $request, $response));
|
||||
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1002202001, $request, $response);
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
echo $this->data['nav']->render(); ?>
|
||||
|
||||
<section class="box w-50">
|
||||
<header><h1><?= $this->getHtml('Project'); ?></h1></header>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ $footerView->setPages(25);
|
|||
$footerView->setPage(1);
|
||||
$footerView->setResults(1);
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
echo $this->data['nav']->render(); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user