Documentation

SearchBlockObject extends MainObject
in package

Description of CollectionObject

Tags
author

nczirjak

Table of Contents

Properties

$model  : mixed
$repoDb  : mixed
$result  : mixed
$siteLang  : mixed

Methods

__construct()  : mixed
getCategories()  : array<string|int, mixed>
getData()  : array<string|int, mixed>
getEntities()  : array<string|int, mixed>
getYears()  : array<string|int, mixed>
init()  : bool
createModel()  : void
extendCategory()  : void
extendEntity()  : void
extendValuesForForm()  : void
// name = searchbox_types[acdh:Collection] value = acdh:Collection // name = searchbox_category[3d-data:17683] value = 3d-data:17683 // name = datebox_years[2022] value = 2022
extendYears()  : mixed
formatCategoryTitleForValue()  : string
Transform the string to remove special chars
processData()  : void

Properties

Methods

getCategories()

public getCategories() : array<string|int, mixed>
Return values
array<string|int, mixed>

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEntities()

public getEntities() : array<string|int, mixed>
Return values
array<string|int, mixed>

getYears()

public getYears() : array<string|int, mixed>
Return values
array<string|int, mixed>

init()

public init(string $lang) : bool
Parameters
$lang : string
Return values
bool

extendValuesForForm()

// name = searchbox_types[acdh:Collection] value = acdh:Collection // name = searchbox_category[3d-data:17683] value = 3d-data:17683 // name = datebox_years[2022] value = 2022

private extendValuesForForm() : void

formatCategoryTitleForValue()

Transform the string to remove special chars

private formatCategoryTitleForValue(string $string) : string
Parameters
$string : string
Return values
string

processData()

private processData(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

        
On this page

Search results