Liste de tous les membres
Fonctions membres publiques statiques |
static | level ($name, $selected, $attribs= '', $params=true, $id=false) |
static | usergroup ($name, $selected, $attribs= '', $allowAll=true) |
static | usergroups ($name, $selected, $checkSuperAdmin=false) |
static | actions ($name, $selected, $component, $section= 'global') |
static | assetgroups ($config=array()) |
static | assetgrouplist ($name, $selected, $attribs=null, $config=array()) |
Documentation des fonctions membres
static JHtmlAccess::actions |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$component, |
|
|
|
$section = 'global' |
|
) |
| |
|
static |
Returns a UL list of actions with check boxes
- Paramètres:
-
string | $name | The name of the checkbox controls array |
array | $selected | An array of the checked boxes |
string | $component | The component the permissions apply to |
string | $section | The section (within a component) the permissions apply to |
- Renvoie:
- string
- Voir également:
- JAccess
- Depuis:
- 11.1
Références $count, $html, $i, $item, $n, $name, JText\_(), et JAccess\getActions().
static JHtmlAccess::assetgrouplist |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$attribs = null , |
|
|
|
$config = array() |
|
) |
| |
|
static |
Displays a Select list of the available asset groups
- Paramètres:
-
string | $name | The name of the select element |
mixed | $selected | The selected asset group id |
string | $attribs | Optional attributes for the select field |
array | $config | An array of options for the control |
- Renvoie:
- mixed An HTML string or null if an error occurs
- Depuis:
- 11.1
Références $attribs, $config, $count, $name, $options, JHtml\_(), et assetgroups().
static JHtmlAccess::assetgroups |
( |
|
$config = array() | ) |
|
|
static |
static JHtmlAccess::level |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$attribs = '' , |
|
|
|
$params = true , |
|
|
|
$id = false |
|
) |
| |
|
static |
Displays a list of the available access view levels
- Paramètres:
-
string | $name | The form field name. |
string | $selected | The name of the selected section. |
string | $attribs | Additional attributes to add to the select field. |
mixed | $params | True to add "All Sections" option or and array of options |
string | $id | The form field id |
- Renvoie:
- string The required HTML for the SELECT tag.
- Depuis:
- 11.1
- Voir également:
- JFormFieldAccessLevel
Références $attribs, $db, $id, $name, $options, $params, $query, JHtml\_(), JText\_(), elseif, JFactory\getDbo(), null, et JError\raiseWarning().
static JHtmlAccess::usergroup |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$attribs = '' , |
|
|
|
$allowAll = true |
|
) |
| |
|
static |
Displays a list of the available user groups.
- Paramètres:
-
string | $name | The form field name. |
string | $selected | The name of the selected section. |
string | $attribs | Additional attributes to add to the select field. |
boolean | $allowAll | True to add "All Groups" option. |
- Renvoie:
- string The required HTML for the SELECT tag.
- Voir également:
- JFormFieldUsergroup
- Depuis:
- 11.1
Références $attribs, $db, $i, $n, $name, $options, $query, JHtml\_(), JText\_(), JFactory\getDbo(), null, et JError\raiseNotice().
static JHtmlAccess::usergroups |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$checkSuperAdmin = false |
|
) |
| |
|
static |
Returns a UL list of user groups with check boxes
- Paramètres:
-
string | $name | The name of the checkbox controls array |
array | $selected | An array of the checked boxes |
boolean | $checkSuperAdmin | If false only super admins can add to super admin groups |
- Renvoie:
- string
- Depuis:
- 11.1
Références $count, $db, $html, $i, $item, $n, $name, $query, JAccess\checkGroup(), JFactory\getDbo(), JFactory\getUser(), null, et JError\raiseNotice().
Documentation des données membres
JHtmlAccess::$asset_groups = null |
|
staticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :