jPrefItemGroup
in package
Tags
Table of Contents
- $id : string
- $locale : mixed
- the locale selector for its label, shown into a form (jpref_admin).
- $order : mixed
- the order of the group into a list of group.
- $prefs : array<string|int, jPrefItem>
- compareGroup() : mixed
- Compare 2 group.
- setFromIniNode() : mixed
- Initialise the group with a node from an ini file.
Properties
$id
public
string
$id
the identifiant of the group
Tags
$locale
the locale selector for its label, shown into a form (jpref_admin).
public
mixed
$locale
Tags
$order
the order of the group into a list of group.
public
mixed
$order
Tags
$prefs
public
array<string|int, jPrefItem>
$prefs
= array()
Tags
Methods
compareGroup()
Compare 2 group.
public
static compareGroup(jPrefItemGroup $a, jPrefItemGroup $b) : mixed
Parameters
- $a : jPrefItemGroup
-
the first group
- $b : jPrefItemGroup
-
the second group
Tags
Return values
mixed —setFromIniNode()
Initialise the group with a node from an ini file.
public
setFromIniNode(mixed $node_key, mixed $node) : mixed
Parameters
- $node_key : mixed
- $node : mixed