TagsControl
extends MultiSelectBox
in package
Class TagsControl
Tags
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'
TAG_TITLE
public
mixed
TAG_TITLE
= 'title'
TAG_UUID
public
mixed
TAG_UUID
= 'uuid'
Properties
$tags
public
static mixed
$tags
= array()
$data
private
mixed
$data
$limit_selection
private
mixed
$limit_selection
$select_data
private
mixed
$select_data
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