TagField

Extends JFormFieldList

List of Tags field.

since

3.1

package

Joomla CMS

Methods

__construct

Constructor

__construct() : mixed
since

3.1

Response

mixed

allowCustom

Determines if the field allows or denies custom values

allowCustom() : bool

Response

bool

getInput

Method to get the field input for a tag field.

getInput() : string
since

3.1

Response

stringThe field input.

getOptions

Method to get a list of tags

getOptions() : array
since

3.1

Response

arrayThe field option objects.

isNested

Determine if the field has to be tagnested

isNested() : bool
since

3.1

Response

bool

prepareOptionsNested

Add "-" before nested tags, depending on level

prepareOptionsNested(array &options) : array
since

3.1

Arguments

options

arrayArray of tags

Response

arrayThe field option objects.

Properties

type

A flexible tag list that respects access controls

since

3.1

Type(s)

string

isNested

Flag to work with nested tag field

since

3.1

Type(s)

bool

comParams

com_tags parameters

since

3.1

Type(s)

\Joomla\Registry\Registry