Pass uri query parameter

This commit is contained in:
Dennis Eichhorn 2017-02-08 19:29:11 +01:00
parent 39f5f80048
commit 4e0878c477

View File

@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<td colspan="3"><?= $footerView->render(); ?> <td colspan="3"><?= $footerView->render(); ?>
<tbody> <tbody>
<?php $count = 0; foreach($docs as $key => $value) : $count++; <?php $count = 0; foreach($docs as $key => $value) : $count++;
$url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/editor/single?id=' . $value->getId()); ?> $url = \phpOMS\Uri\UriFactory::build('/{/lang}/backend/editor/single?{?}id=' . $value->getId()); ?>
<tr> <tr>
<td><a href="<?= $url; ?>"><?= $value->getTitle(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getTitle(); ?></a>
<td><a href="<?= $url; ?>"><?= $value->getCreatedBy(); ?></a> <td><a href="<?= $url; ?>"><?= $value->getCreatedBy(); ?></a>