contao/test — Issue #2511: Parameter für jumpToOrReload 
Author: importer
Created: 2011-11-29 09:48:50+00:00
State: open
Labels: Feature, framework

Ich wünsche mir, dass man der Funktion "jumpToOrReload" Parameter für die Frontend-Url-Bildung übergeben kann.

Neu:

```
protected function jumpToOrReload($intId, $strParams='')
{
global $objPage;

if (strlen($intId) && $intId != $objPage->id)
{
$objNextPage = $this->Database->prepare("SELECT id, alias FROM tl_page WHERE id=?")
->limit(1)
->execute($intId);

if ($objNextPage->numRows)
{
$this->redirect($this->generateFrontendUrl($objNextPage->fetchAssoc(), $strParams));
}
}

$this->reload();
}
```

--- _Originally created by innovativecreation on September 7th, 2010, at 07:54pm (ID 2511)_