RecordSearchBoxComponent
Renders the search box for the record listing and the element browser.
Table of Contents
Properties
- $allowedSearchLevels : array<string|int, mixed>
- $backendViewFactory : BackendViewFactory
- $searchLevel : int
- $searchWord : string
Methods
- __construct() : mixed
- render() : string
- setAllowedSearchLevels() : self
- setSearchLevel() : self
- setSearchWord() : self
Properties
$allowedSearchLevels
protected
array<string|int, mixed>
$allowedSearchLevels
= []
$backendViewFactory read-only
protected
BackendViewFactory
$backendViewFactory
$searchLevel
protected
int
$searchLevel
= 0
$searchWord
protected
string
$searchWord
= ''
Methods
__construct()
public
__construct(BackendViewFactory $backendViewFactory) : mixed
Parameters
- $backendViewFactory : BackendViewFactory
render()
public
render(ServerRequestInterface $request[, string $formUrl = '' ]) : string
Parameters
- $request : ServerRequestInterface
- $formUrl : string = ''
Return values
stringsetAllowedSearchLevels()
public
setAllowedSearchLevels(array<string|int, mixed> $allowedSearchLevels) : self
Parameters
- $allowedSearchLevels : array<string|int, mixed>
Return values
selfsetSearchLevel()
public
setSearchLevel(int $searchLevel) : self
Parameters
- $searchLevel : int
Return values
selfsetSearchWord()
public
setSearchWord(string $searchWord) : self
Parameters
- $searchWord : string