‪TYPO3CMS  10.4
TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper:

Public Member Functions

 initializeArguments ()
 
 render ()
 

Protected Member Functions

string makecurrentPageSelector_link ($str, $p, $freeIndexUid)
 

Protected Attributes

string $tagName = 'ul'
 

Static Protected Attributes

static string $prefixId = 'tx_indexedsearch'
 

Detailed Description

Page browser for indexed search, and only useful here, as the regular pagebrowser so this is a cleaner "pi_browsebox" but not a real page browser functionality

Definition at line 30 of file PageBrowsingViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper::initializeArguments ( )

Initialize arguments

Definition at line 43 of file PageBrowsingViewHelper.php.

◆ makecurrentPageSelector_link()

string TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper::makecurrentPageSelector_link (   $str,
  $p,
  $freeIndexUid 
)
protected

Used to make the link for the result-browser. Notice how the links must resubmit the form after setting the new currentPage-value in a hidden formfield.

Parameters
string$str‪String to wrap in tag
int$p‪currentPage value
string$freeIndexUid‪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!
Returns
‪string Input string wrapped in tag with onclick event attribute set.

Definition at line 128 of file PageBrowsingViewHelper.php.

Referenced by TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper\render().

◆ render()

Member Data Documentation

◆ $prefixId

string TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper::$prefixId = 'tx_indexedsearch'
staticprotected

Definition at line 34 of file PageBrowsingViewHelper.php.

◆ $tagName

string TYPO3\CMS\IndexedSearch\ViewHelpers\PageBrowsingViewHelper::$tagName = 'ul'
protected

Definition at line 38 of file PageBrowsingViewHelper.php.