Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe UsersHelper
+ Graphe d'héritage de UsersHelper:

Fonctions membres publiques statiques

static getStateOptions ()
 
static getActiveOptions ()
 
static getGroups ()
 
static getRangeOptions ()
 
static getTwoFactorMethods ()
 
static getVisibleByGroups ($rules)
 
static validateSection ($section)
 
static getContexts ()
 
- Fonctions membres publiques statiques hérités de ContentHelper
static addSubmenu ($vName)
 
static countRelations (&$items, $config)
 
static getActions ($component='', $section='', $id=0)
 
static getCurrentLanguage ($detectBrowser=true)
 
static getLanguageId ($langCode)
 

Attributs protégés statiques

static $actions
 

Membres hérités additionnels

- Fonctions membres publiques hérités de ContentHelper
 getRowData (Table $table)
 

Description détaillée

Users component helper.

Depuis
1.6

Documentation des fonctions membres

◆ getActiveOptions()

static getActiveOptions ( )
static

Get a list of filter options for the activated state of a user.

Renvoie
array An array of elements.
Depuis
1.6

Références $options, Text\_(), et HTMLHelper\_().

◆ getContexts()

static getContexts ( )
static

Returns valid contexts

Renvoie
array
Depuis
3.7.0
Obsolète:
5.0 Use ::getContexts() instead.

Références Factory\getApplication().

◆ getGroups()

static getGroups ( )
static

Get a list of the user groups for filtering.

Renvoie
array An array of elements.
Depuis
1.6

Références $option, $options, et UserGroupsHelper\getInstance().

◆ getRangeOptions()

static getRangeOptions ( )
static

Creates a list of range options used in filter select list used in com_users on users view

Renvoie
array
Depuis
2.5

Références $options, Text\_(), et HTMLHelper\_().

◆ getStateOptions()

static getStateOptions ( )
static

Get a list of filter options for the blocked state of a user.

Renvoie
array An array of elements.
Depuis
1.6

Références $options, Text\_(), et HTMLHelper\_().

◆ getTwoFactorMethods()

static getTwoFactorMethods ( )
static

No longer used.

Renvoie
array
Depuis
3.2.0
Exceptions

◆ getVisibleByGroups()

static getVisibleByGroups (   $rules)
static

Get a list of the User Groups for Viewing Access Levels

Paramètres
string$rulesUser Groups in JSON format
Renvoie
string $groups Comma separated list of User Groups
Depuis
3.6

Références $db, $groups, $query, et Factory\getDbo().

◆ validateSection()

static validateSection (   $section)
static

Returns a valid section for users. If it is not valid then null is returned.

Paramètres
string$sectionThe section to get the mapping for
Renvoie
string|null The new section
Depuis
3.7.0
Exceptions

Références $section, Factory\getApplication(), et null.

Documentation des champs

◆ $actions

$actions
staticprotected

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