Documentation

TagsControl extends MultiSelectBox

Class TagsControl

Tags
subpackage

Modules\Tags\Controllers

Table of Contents

TAG_GROUP_UUID  = 'group_uuid'
TAG_TITLE  = 'title'
TAG_UUID  = 'uuid'
$tags  : mixed
$data  : mixed
$limit_selection  : mixed
$select_data  : mixed
__construct()  : mixed
getControl()  : Html
return html string control
getValue()  : array<string|int, mixed>
return control value
register()  : void
register control
tag_is_selected()  : bool
checks if the tag is among the selected

Constants

TAG_GROUP_UUID

public mixed TAG_GROUP_UUID = 'group_uuid'

Properties

Methods

__construct()

public __construct([mixed $caption = null ][, mixed $data = null ][, mixed $select_data = null ][, mixed $limit_selection = null ]) : mixed
Parameters
$caption : mixed = null
$data : mixed = null
$select_data : mixed = null
$limit_selection : mixed = null
Return values
mixed

getControl()

return html string control

public getControl() : Html
Return values
Html

getValue()

return control value

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

register()

register control

public static register() : void
Return values
void

tag_is_selected()

checks if the tag is among the selected

private tag_is_selected( $tag,  $selectedTags) : bool
Parameters
$tag :
$selectedTags :
Return values
bool

Search results