|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| _renderOptionTree (&$tree, $option, $prefix, $parentIds=array()) | |
| render () | |
| setOptionTree (&$optionTree) | |
| setValue ($value) | |
| XoopsGroupFormCheckBox ($caption, $name, $groupId, $values=null) | |
Public Member Functions inherited from XoopsFormElement | |
| getAccessKey () | |
| getAccessString ($str) | |
| getCaption ($encode=false) | |
| getClass () | |
| getDescription ($encode=false) | |
| getExtra ($encode=false) | |
| getFormType () | |
| getName ($encode=true) | |
| getNocolspan () | |
| getTitle ($encode=true) | |
| isContainer () | |
| isHidden () | |
| isRequired () | |
| render () | |
| renderValidationJS () | |
| setAccessKey ($key) | |
| setCaption ($caption) | |
| setClass ($class) | |
| setDescription ($description) | |
| setExtra ($extra, $replace=false) | |
| setFormType ($value= '') | |
| setHidden () | |
| setName ($name) | |
| setNocolspan ($nocolspan=true) | |
| XoopsFormElement () | |
Public Attributes | |
| $_groupId | |
| $_optionTree | |
| $_value = array() | |
Public Attributes inherited from XoopsFormElement | |
| $_accesskey = '' | |
| $_caption | |
| $_class = array() | |
| $_description = '' | |
| $_extra = array() | |
| $_formtype = '' | |
| $_hidden = false | |
| $_name | |
| $_nocolspan = false | |
| $_required = false | |
| $customValidationCode = array() | |
Renders checkbox options for a group permission form
Definition at line 182 of file grouppermform.php.
| XoopsGroupFormCheckBox::_renderOptionTree | ( | & | $tree, |
| $option, | |||
| $prefix, | |||
$parentIds = array() |
|||
| ) |
Renders checkbox options for an item tree
| string | $tree | |
| array | $option | |
| string | $prefix | |
| array | $parentIds | private |
Definition at line 289 of file grouppermform.php.
References XoopsFormElement\getName().
Referenced by render().


| XoopsGroupFormCheckBox::render | ( | ) |
Renders checkbox options for this group
Definition at line 250 of file grouppermform.php.
References $ret, _ALL, _renderOptionTree(), and XoopsFormElement\getName().

| XoopsGroupFormCheckBox::setOptionTree | ( | & | $optionTree | ) |
Sets the tree structure of items
| array | $optionTree | public |
Definition at line 239 of file grouppermform.php.
| XoopsGroupFormCheckBox::setValue | ( | $value | ) |
Sets pre-selected values
| mixed | $value | A group ID or an array of group IDs public |
Definition at line 222 of file grouppermform.php.
Referenced by XoopsGroupFormCheckBox().

| XoopsGroupFormCheckBox::XoopsGroupFormCheckBox | ( | $caption, | |
| $name, | |||
| $groupId, | |||
$values = null |
|||
| ) |
Constructor
Definition at line 206 of file grouppermform.php.
References XoopsFormElement\setCaption(), XoopsFormElement\setName(), and setValue().

| XoopsGroupFormCheckBox::$_groupId |
Definition at line 195 of file grouppermform.php.
| XoopsGroupFormCheckBox::$_optionTree |
Definition at line 201 of file grouppermform.php.
| XoopsGroupFormCheckBox::$_value = array() |
Definition at line 189 of file grouppermform.php.