|
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()) |
|
Extended Utility class for all HTML drawing classes.
- Depuis
- 1.6
◆ actions()
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
- AccessCheck
- Depuis
- 1.6
Références $actions, $checked, $component, $count, $html, $i, $item, $n, $name, $section, $selected, Text\_(), 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 | $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
- 1.6
Références $attribs, $config, $count, $name, $options, $selected, HTMLHelper\_(), et null.
◆ assetgroups()
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, $query, et Factory\getDbo().
◆ level()
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
- Depuis
- 1.6
Références $attribs, $db, $id, $name, $options, $params, $query, $selected, Text\_(), HTMLHelper\_(), elseif, et Factory\getDbo().
◆ usergroup()
static usergroup |
( |
|
$name, |
|
|
|
$selected, |
|
|
|
$attribs = '' , |
|
|
|
$allowAll = true , |
|
|
|
$id = false |
|
) |
| |
|
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. |
mixed | $id | The form field id |
- Renvoie
- string The required HTML for the SELECT tag.
- Voir également
- Depuis
- 1.6
Références $attribs, $i, $id, $n, $name, $options, $selected, Text\_(), HTMLHelper\_(), UserGroupsHelper\getInstance(), et level.
◆ usergroups()
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, $selected, UserGroupsHelper\getInstance(), Factory\getUser(), et LayoutHelper\render().
◆ $asset_groups
La documentation de cette classe a été générée à partir du fichier suivant :