‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\View\RecordSearchBoxComponent Class Reference

Public Member Functions

 __construct (protected readonly BackendViewFactory $backendViewFactory)
 
 setSearchWord (string $searchWord)
 
 setSearchLevel (int $searchLevel)
 
 setAllowedSearchLevels (array $allowedSearchLevels)
 
 render (ServerRequestInterface $request, string $formUrl='')
 

Protected Attributes

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

Detailed Description

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

Definition at line 27 of file RecordSearchBoxComponent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\View\RecordSearchBoxComponent::__construct ( protected readonly BackendViewFactory  $backendViewFactory)

Definition at line 33 of file RecordSearchBoxComponent.php.

Member Function Documentation

◆ render()

TYPO3\CMS\Backend\View\RecordSearchBoxComponent::render ( ServerRequestInterface  $request,
string  $formUrl = '' 
)

Definition at line 53 of file RecordSearchBoxComponent.php.

◆ setAllowedSearchLevels()

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

◆ setSearchLevel()

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

◆ setSearchWord()

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

Member Data Documentation

◆ $allowedSearchLevels

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

◆ $searchLevel

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

◆ $searchWord

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