PageBrowsingViewHelper extends AbstractTagBasedViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.indexedsearch.s.pagebrowsing>
Page browser for indexed search, and only useful here, as the regular pagebrowser.
This is a cleaner "pi_browsebox" but not a real page browser functionality.
Table of Contents
Properties
Methods
- __construct() : mixed
- initializeArguments() : void
- render() : string
- makecurrentPageSelector_link() : string
- Used to make the link for the result-browser.
Properties
$prefixId
protected
static string
$prefixId
= 'tx_indexedsearch'
$tagName
protected
string
$tagName
= 'ul'
Methods
__construct()
public
__construct(AssetCollector $assetCollector) : mixed
Parameters
- $assetCollector : AssetCollector
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string
Return values
stringmakecurrentPageSelector_link()
Used to make the link for the result-browser.
protected
makecurrentPageSelector_link(string $str, int $p, string $freeIndexUid[, bool $isCurrentPage = false ]) : string
Notice how the links must resubmit the form after setting the new currentPage-value in a hidden formfield.
Parameters
- $str : string
-
String to wrap in tag
- $p : int
-
currentPage value
- $freeIndexUid : string
-
List of integers pointing to free indexing configurations to search. -1 represents no filtering, 0 represents TYPO3 pages only, any number above zero is a uid of an indexing configuration!
- $isCurrentPage : bool = false
Return values
string —Input string wrapped in tag with onclick event attribute set.