class JHtmlTag

Utility class for tags

Methods

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

Returns an array of tags.

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

Returns an array of tags.

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

This is just a proxy for the formbehavior.ajaxchosen method

Details

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

Returns an array of tags.

Parameters

array $config An array of configuration options. By default, only published and unpublished categories are returned.

Return Value

array

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

Returns an array of tags.

Parameters

array $config An array of configuration options. By default, only published and unpublished tags are returned.

Return Value

array Tag data

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

This is just a proxy for the formbehavior.ajaxchosen method

Parameters

string $selector DOM id of the tag field
boolean $allowCustom Flag to allow custom values

Return Value

void