Extended Utility class for all HTML drawing classes.
- Depuis
- 1.6
static actions |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$component, |
|
|
|
$section = 'global' |
|
) |
| |
|
static |
Returns a UL list of actions with checkboxes
- 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
- 1.6
Références $checked, $component, $count, $html, $i, $item, $n, $name, $section, $selected, et JPATH_ADMINISTRATOR.
static 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 an array of options |
mixed | $id | The 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.
static usergroups |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$checkSuperAdmin = false |
|
) |
| |
|
static |
Returns a UL list of user groups with checkboxes
- 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
- 1.6
Références $checked, $count, $groups, $html, $i, $item, $n, $name, $rel, et $selected.