Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Tag

Fonctions membres publiques statiques

static options ($config=array('filter.published'=> array(0, 1)))
 
static tags ($config=array('filter.published'=> array(0, 1)))
 
static ajaxfield ($selector='#jform_tags', $allowCustom=true)
 

Attributs protégés statiques

static $items = array()
 

Description détaillée

Utility class for tags

Depuis
3.1

Documentation des fonctions membres

◆ ajaxfield()

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

This is just a proxy for the formbehavior.ajaxchosen method

Paramètres
string$selectorDOM id of the tag field
boolean$allowCustomFlag to allow custom values
Renvoie
void
Depuis
3.1
Obsolète:
5.0 Without replacement

Références $params, $selector, HTMLHelper\_(), Factory\getDocument(), ComponentHelper\getParams(), Factory\getUser(), JDEBUG, Uri\root(), et Text\script().

◆ options()

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

Returns an array of tags.

Paramètres
array$configAn array of configuration options. By default, only published and unpublished categories are returned.
Renvoie
array
Depuis
3.1

Références $config, $db, $hash, $item, $items, $query, HTMLHelper\_(), elseif, Factory\getDbo(), ParameterType\INTEGER, ParameterType\STRING, et ArrayHelper\toInteger().

◆ tags()

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

Returns an array of tags.

Paramètres
array$configAn array of configuration options. By default, only published and unpublished tags are returned.
Renvoie
array Tag data
Depuis
3.1

Références $config, $db, $hash, $item, $items, $query, HTMLHelper\_(), elseif, Factory\getDbo(), ParameterType\INTEGER, et ArrayHelper\toInteger().

Documentation des champs

◆ $items

$items = array()
staticprotected

La documentation de cette classe a été générée à partir du fichier suivant :