RecordSearchBoxComponent

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

Internal

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 = ''

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
string

setAllowedSearchLevels()

public setAllowedSearchLevels(array<string|int, mixed> $allowedSearchLevels) : self
Parameters
$allowedSearchLevels : array<string|int, mixed>
Return values
self

setSearchLevel()

public setSearchLevel(int $searchLevel) : self
Parameters
$searchLevel : int
Return values
self

setSearchWord()

public setSearchWord(string $searchWord) : self
Parameters
$searchWord : string
Return values
self

        
On this page

Search results