XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct ($caption, $name, $groupId, $values=null) | |
setValue ($value) | |
setOptionTree (&$optionTree) | |
render () | |
_renderOptionTree (&$tree, $option, $prefix, $parentIds=[]) | |
_hasChildren () | |
![]() | |
__construct () | |
XoopsFormElement () | |
isContainer () | |
setName ($name) | |
getName ($encode=true) | |
setId ($id) | |
getId () | |
setAccessKey ($key) | |
getAccessKey () | |
getAccessString ($str) | |
setClass ($class) | |
getClass () | |
setCaption ($caption) | |
getCaption () | |
setDescription ($description) | |
getDescription () | |
setHidden () | |
isHidden () | |
isBreak () | |
setExtra ($extra, $replace=false) | |
getExtra () | |
getMessageForJS () | |
Data Fields | |
$_value = [] | |
$_groupId | |
$_optionTree = [] | |
![]() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = '' | |
$_hidden = false | |
$_extra = '' | |
$_required = false | |
$_description = '' | |
$_id = null | |
Renders checkbox options for a group permission form
Definition at line 155 of file grouppermform.php.
__construct | ( | $caption, | |
$name, | |||
$groupId, | |||
$values = null ) |
Constructor
$caption | ||
$name | ||
$groupId | ||
null | $values |
Definition at line 183 of file grouppermform.php.
_hasChildren | ( | ) |
Gets a value indicating whether this object has children.
Definition at line 320 of file grouppermform.php.
_renderOptionTree | ( | & | $tree, |
$option, | |||
$prefix, | |||
$parentIds = [] ) |
Renders checkbox options for an item tree
string | $tree | |
array | $option | |
string | $prefix | |
array | $parentIds | @access private |
Definition at line 273 of file grouppermform.php.
render | ( | ) |
Renders checkbox options for this group
Reimplemented from XoopsFormElement.
Definition at line 227 of file grouppermform.php.
setOptionTree | ( | & | $optionTree | ) |
Sets the tree structure of items
array | $optionTree | @access public |
Definition at line 216 of file grouppermform.php.
setValue | ( | $value | ) |
Sets pre-selected values
mixed | $value | A group ID or an array of group IDs @access public |
Definition at line 199 of file grouppermform.php.
$_groupId |
Definition at line 168 of file grouppermform.php.
$_optionTree = [] |
Definition at line 174 of file grouppermform.php.
$_value = [] |
Definition at line 162 of file grouppermform.php.