Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe JHtmlAccess

Fonctions membres publiques statiques

static level ($name, $selected, $attribs='', $params=true, $id=false)
 
static usergroup ($name, $selected, $attribs='', $allowAll=true, $id=false)
 
static usergroups ($name, $selected, $checkSuperAdmin=false)
 
static actions ($name, $selected, $component, $section='global')
 
static assetgroups ()
 
static assetgrouplist ($name, $selected, $attribs=null, $config=array())
 

Attributs protégés statiques

static $asset_groups = null
 

Description détaillée

Extended Utility class for all HTML drawing classes.

Depuis
1.6

Documentation des fonctions membres

◆ actions()

static actions (   $name,
  $selected,
  $component,
  $section = 'global' 
)
static

Returns a UL list of actions with checkboxes

Paramètres
string$nameThe name of the checkbox controls array
array$selectedAn array of the checked boxes
string$componentThe component the permissions apply to
string$sectionThe section (within a component) the permissions apply to
Renvoie
string
Voir également
JAccess
Depuis
1.6

Références $checked, $component, $count, $html, $i, $item, $n, $name, $section, $selected, et JPATH_ADMINISTRATOR.

◆ assetgrouplist()

static assetgrouplist (   $name,
  $selected,
  $attribs = null,
  $config = array() 
)
static

Displays a Select list of the available asset groups

Paramètres
string$nameThe name of the select element
mixed$selectedThe selected asset group id
string$attribsOptional attributes for the select field
array$configAn array of options for the control
Renvoie
mixed An HTML string or null if an error occurs
Depuis
1.6

Références $attribs, $config, $count, $name, $options, $selected, et null.

◆ assetgroups()

static assetgroups ( )
static

Gets a list of the asset groups as an array of JHtml compatible options.

Renvoie
mixed An array or false if an error occurs
Depuis
1.6

Références $db, et $query.

◆ level()

static level (   $name,
  $selected,
  $attribs = '',
  $params = true,
  $id = false 
)
static

Displays a list of the available access view levels

Paramètres
string$nameThe form field name.
string$selectedThe name of the selected section.
string$attribsAdditional attributes to add to the select field.
mixed$paramsTrue to add "All Sections" option or an array of options
mixed$idThe form field id or false if not used
Renvoie
string The required HTML for the SELECT tag.
Voir également
JFormFieldAccessLevel
Depuis
1.6

Références $attribs, $db, $id, $name, $options, $params, $query, $selected, et elseif.

◆ usergroup()

static usergroup (   $name,
  $selected,
  $attribs = '',
  $allowAll = true,
  $id = false 
)
static

Displays a list of the available user groups.

Paramètres
string$nameThe form field name.
string$selectedThe name of the selected section.
string$attribsAdditional attributes to add to the select field.
boolean$allowAllTrue to add "All Groups" option.
mixed$idThe form field id
Renvoie
string The required HTML for the SELECT tag.
Voir également
JFormFieldUsergroup
Depuis
1.6

Références $attribs, $i, $id, $n, $name, $options, et $selected.

◆ usergroups()

static usergroups (   $name,
  $selected,
  $checkSuperAdmin = false 
)
static

Returns a UL list of user groups with checkboxes

Paramètres
string$nameThe name of the checkbox controls array
array$selectedAn array of the checked boxes
boolean$checkSuperAdminIf false only super admins can add to super admin groups
Renvoie
string
Depuis
1.6

Références $checked, $count, $groups, $html, $i, $item, $n, $name, $rel, et $selected.

Documentation des champs

◆ $asset_groups

$asset_groups = null
staticprotected

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