[TYPO3-mvc] Help with PageBrowserViewHelper

Sebastian Gebhard sebastian.gebhard at googlemail.com
Sun Jul 26 23:44:07 CEST 2009


Hi List,

i want to write a page browser ViewHelper.

My list is a search result which is influenced by a bunch of GP-Vars.

To create the links in the pagebrowser I took a look at 
ActionViewHelper. There I found:

$uri = $uriHelper->URIFor($pageUid, $action, $arguments, $controller, 
$extensionName, $pluginName, $pageType, $noCache, !$noCacheHash, 
$section, $linkAccessRestrictedPages, $additionalParams);

Of course in a pagebrowser i have to link to the same page with the same 
parameters except an page/offset parameter.

How can I retreive all these data in the ViewHelper?
How can I get.. (read: What is the proper way to get..)
- the active pageUid?
- the current contoller/action (I want to use the PageBrowserViewHelper 
for different controllers and actions)
- the GP vars
etc.

Or is there another (proper) way to link to the current URL with ONE 
modified parameter?

Thanks for your help


More information about the TYPO3-project-typo3v4mvc mailing list