API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Public Member Functions | |
__construct ($caption, $name, $groupId, $values=null) | |
setValue ($value) | |
setOptionTree (&$optionTree) | |
render () | |
_renderOptionTree (&$tree, $option, $prefix, $parentIds=array()) | |
Public Member Functions inherited from XoopsFormElement | |
__construct () | |
isContainer () | |
setName ($name) | |
getName ($encode=true) | |
setAccessKey ($key) | |
getAccessKey () | |
getAccessString ($str) | |
setClass ($class) | |
getClass () | |
setCaption ($caption) | |
getCaption ($encode=false) | |
getTitle ($encode=true) | |
setDescription ($description) | |
getDescription ($encode=false) | |
setHidden () | |
isHidden () | |
isRequired () | |
setExtra ($extra, $replace=false) | |
getExtra ($encode=false) | |
setNocolspan ($nocolspan=true) | |
getNocolspan () | |
getFormType () | |
setFormType ($value='') | |
renderValidationJS () | |
render () | |
Data Fields | |
$_value = array() | |
$_groupId | |
$_optionTree = array() | |
Data Fields inherited from XoopsFormElement | |
$customValidationCode = array() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = array() | |
$_hidden = false | |
$_extra = array() | |
$_required = false | |
$_description = '' | |
$_nocolspan = false | |
$_formtype = '' | |
Renders checkbox options for a group permission form
__construct | ( | $caption, | |
$name, | |||
$groupId, | |||
$values = null |
|||
) |
Constructor
$caption | ||
$name | ||
$groupId | ||
null | $values |
_renderOptionTree | ( | & | $tree, |
$option, | |||
$prefix, | |||
$parentIds = array() |
|||
) |
Renders checkbox options for an item tree
string | $tree | |
array | $option | |
string | $prefix | |
array | $parentIds | @access private |
render | ( | ) |
Renders checkbox options for this group
Reimplemented from XoopsFormElement.
setOptionTree | ( | & | $optionTree | ) |
Sets the tree structure of items
array | $optionTree | @access public |
setValue | ( | $value | ) |
Sets pre-selected values
mixed | $value | A group ID or an array of group IDs @access public |
$_groupId |
$_optionTree = array() |
$_value = array() |