‪TYPO3CMS  11.5
TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent Class Reference

Public Member Functions

 __construct (?ViewInterface $view=null)
 
 setSearchWord (string $searchWord)
 
 setSearchLevel (int $searchLevel)
 
 setAllowedSearchLevels (array $allowedSearchLevels)
 
 render (string $formUrl='')
 

Protected Member Functions

 getView (string $filename)
 

Protected Attributes

ViewInterface $view
 
array $allowedSearchLevels = []
 
string $searchWord = ''
 
int $searchLevel = 0
 

Detailed Description

Renders the search box for the record listing and the element browser.

Definition at line 29 of file RecordSearchBoxComponent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::__construct ( ?ViewInterface  $view = null)

Member Function Documentation

◆ getView()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::getView ( string  $filename)
protected

◆ render()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::render ( string  $formUrl = '')

Definition at line 59 of file RecordSearchBoxComponent.php.

◆ setAllowedSearchLevels()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::setAllowedSearchLevels ( array  $allowedSearchLevels)

◆ setSearchLevel()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::setSearchLevel ( int  $searchLevel)

◆ setSearchWord()

TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::setSearchWord ( string  $searchWord)

Member Data Documentation

◆ $allowedSearchLevels

array TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::$allowedSearchLevels = []
protected

◆ $searchLevel

int TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::$searchLevel = 0
protected

◆ $searchWord

string TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::$searchWord = ''
protected

◆ $view

ViewInterface TYPO3\CMS\Recordlist\View\RecordSearchBoxComponent::$view
protected