RecordSearchBoxComponent
Renders the search box for the record listing and the element browser.
Table of Contents
Properties
- $allowedSearchLevels : array<string|int, mixed>
- $searchLevel : int
- $searchWord : string
- $view : ViewInterface
Methods
- __construct() : mixed
- render() : string
- setAllowedSearchLevels() : self
- setSearchLevel() : self
- setSearchWord() : self
- getView() : StandaloneView
Properties
$allowedSearchLevels
protected
array<string|int, mixed>
$allowedSearchLevels
= []
$searchLevel
protected
int
$searchLevel
= 0
$searchWord
protected
string
$searchWord
= ''
$view
protected
ViewInterface
$view
Methods
__construct()
public
__construct([ViewInterface|null $view = null ]) : mixed
Parameters
- $view : ViewInterface|null = null
render()
public
render([string $formUrl = '' ]) : string
Parameters
- $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
Return values
selfgetView()
protected
getView(string $filename) : StandaloneView
Parameters
- $filename : string