Back to Joomla project (class list)

Class TagField - list of methods

List of Tags field.

Extends

Package: Joomla\CMS\Form\Field
Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Form/Field/TagField.php
Project: Joomla

Method Summary

public
()

Constructor
Since
  • 3.1
Show source code of this method: __construct Source Code

protected string
()

Method to get the field input for a tag field.
Returns
  • string The field input.
Since
  • 3.1
Show source code of this method: getInput Source Code

protected array
()

Method to get a list of tags
Returns
  • array The field option objects.
Since
  • 3.1
Show source code of this method: getOptions Source Code

protected array
(mixed &$options)

Add "-" before nested tags, depending on level
Parameters
  • array & $options Array of tags
Returns
  • array The field option objects.
Since
  • 3.1
Show source code of this method: prepareOptionsNested Source Code

public bool
()

Determine if the field has to be tagnested
Returns
  • bool
Since
  • 3.1
Show source code of this method: isNested Source Code

public bool
()

Determines if the field allows or denies custom values
Returns
  • bool
Show source code of this method: allowCustom Source Code

public bool
()

Check whether need to enable AJAX search
Returns
  • bool
Since
  • 4.0.0
Show source code of this method: isRemoteSearch Source Code

Properties Summary

public string
$type
A flexible tag list that respects access controls
Since
  • 3.1
public bool
$isNested
Flag to work with nested tag field
Since
  • 3.1
protected \Joomla\Registry\Registry
$comParams
com_tags parameters
Since
  • 3.1
protected string
$layout
Name of the layout being used to render the field
Since
  • 4.0.0

Tags Summary

Since
3.1