Tag

Utility class for tags

abstract
since

3.1

Methods

ajaxfield

This is just a proxy for the formbehavior.ajaxchosen method

ajaxfield(string $selector = '#jform_tags', boolean $allowCustom = true) : void
static deprecated
since

3.1

deprecated

5.0 Without replacement

Arguments

$selector

stringDOM id of the tag field

$allowCustom

booleanFlag to allow custom values

options

Returns an array of tags.

options(array $config = array('filter.published' => array(0, 1))) : array
static
since

3.1

Arguments

$config

arrayAn array of configuration options. By default, only published and unpublished categories are returned.

Response

array

tags

Returns an array of tags.

tags(array $config = array('filter.published' => array(0, 1))) : array
static
since

3.1

Arguments

$config

arrayAn array of configuration options. By default, only published and unpublished tags are returned.

Response

arrayTag data

Properties

items

Cached array of the tag items.

static
since

3.1

Type(s)

array