Pass uri query parameter

This commit is contained in:
Dennis Eichhorn 2017-02-08 19:28:55 +01:00
parent 7746a7cb5c
commit ea7ee94aae

View File

@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td colspan="8"><?= $footerView->render(); ?>
<tbody>
<?php $c = 0; foreach ([] as $key => $value) : $c++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?id=' . $value->getId()); ?>
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/business/department/profile?{?}id=' . $value->getId()); ?>
<tr>
<td><a href="<?= $url; ?>"><?= $value->getId(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getName(); ?></a>