‪TYPO3CMS  10.4
TYPO3\CMS\Frontend\Tests\Unit\Fixtures\ResultBrowserPluginHook Class Reference

Public Member Functions

string pi_list_browseresults ($showResultCount, $tableParams, array $wrapArr, $pointerName, $hscText, $forceOutput, AbstractPlugin $pObj)
 

Detailed Description

Class using the [\TYPO3\CMS\Frontend\Plugin\AbstractPlugin::class]['pi_list_browseresults'] hook

Definition at line 23 of file ResultBrowserPluginHook.php.

Member Function Documentation

◆ pi_list_browseresults()

string TYPO3\CMS\Frontend\Tests\Unit\Fixtures\ResultBrowserPluginHook::pi_list_browseresults (   $showResultCount,
  $tableParams,
array  $wrapArr,
  $pointerName,
  $hscText,
  $forceOutput,
AbstractPlugin  $pObj 
)

Returns a results browser. This method is a stub to test the hook in AbstractPlugin::pi_list_browseresults().

Parameters
int$showResultCount‪Determines how the results of the pagerowser will be shown. See description below
string$tableParams‪Attributes for the table tag which is wrapped around the table cells containing the browse links
array$wrapArr‪Array with elements to overwrite the default $wrapper-array.
string$pointerName‪varname for the pointer.
bool$hscText‪Enable htmlspecialchars() for the pi_getLL function (set this to FALSE if you want f.e use images instead of text for links like 'previous' and 'next').
bool$forceOutput‪Forces the output of the page browser if you set this option to "TRUE" (otherwise it's only drawn if enough entries are available)
AbstractPlugin$pObj‪Instance of the calling object
Returns
‪string Output HTML-Table, wrapped in
-tags with a class attribute (if $wrapArr is not passed,

Definition at line 37 of file ResultBrowserPluginHook.php.