Tag

Utility class for tags

abstract
since

3.1

package

Joomla CMS

Methods

ajaxfield

This is just a proxy for the formbehavior.ajaxchosen method

ajaxfield( selector = '#jform_tags',  allowCustom = true) : 
static deprecated
since

3.1

deprecated

4.0 will be removed in 6.0 Will be removed without replacement

Arguments

selector

stringDOM id of the tag field

allowCustom

boolFlag to allow custom values

Response

void

options

Returns an array of tags.

options(mixed||string|int config = ['filter.published' => [0, 1]]) : mixed||string|int
static
since

3.1

Arguments

config

array<string|int, mixed>An array of configuration options. By default, only published and unpublished categories are returned.

Response

array<string|int, mixed>

tags

Returns an array of tags.

tags(mixed||string|int config = ['filter.published' => [0, 1]]) : mixed||string|int
static
since

3.1

Arguments

config

array<string|int, mixed>An array of configuration options. By default, only published and unpublished tags are returned.

Response

array<string|int, mixed>Tag data

Properties

items

Cached array of the tag items.

static
since

3.1

Type(s)

array<string|int, mixed>