extends |
XoopsFormElement |
---|
Renders checkbox options for a group permission form
Methods | ||||
---|---|---|---|---|
public
|
__construct($caption, $name, $groupId, null $values = null)
Constructor
|
# | ||
public
|
setValue(mixed $value)
Sets pre-selected values
Sets pre-selected values Parameters
|
# | ||
public
|
setOptionTree(array &$optionTree)
Sets the tree structure of items
Sets the tree structure of items |
# | ||
public
|
render(): string
Renders checkbox options for this group
|
# | ||
public
|
_renderOptionTree(string &$tree, array $option, string $prefix, array $parentIds = [])
Renders checkbox options for an item tree
Renders checkbox options for an item tree |
# |
Properties | |||
---|---|---|---|
public
|
array
|
$_value = []
;
; |
# |
public
|
int
|
$_groupId
|
# |
public
|
array
|
$_optionTree = []
|
# |
Properties inherited from XoopsFormElement |
---|
$customValidationCode, $_name, $_caption, $_accesskey, $_class, $_hidden, $_extra, $_required, $_description, $_nocolspan, $_formtype |