XOOPS
2.6.0
|
Protected Attributes | |
$value = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Private Member Functions | |
renderOptionTree (&$tree, $option, $prefix, $parentIds=array()) | |
Private Attributes | |
$groupId | |
$optionTree = array() | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
$customValidationCode = array() | |
Definition at line 25 of file GroupFormCheckbox.php.
Xoops\Form\GroupFormCheckbox::__construct | ( | $caption, | |
$name, | |||
$groupId, | |||
$values = null |
|||
) |
__construct
string | $caption | caption |
string | $name | element name |
integer | $groupId | group id |
mixed | $values | values |
Definition at line 56 of file GroupFormCheckbox.php.
References Xoops\Form\Element\$caption, Xoops\Form\GroupFormCheckbox\$groupId, $name, Xoops\Form\Element\setCaption(), Xoops\Form\Element\setName(), and Xoops\Form\Element\setValue().
Xoops\Form\GroupFormCheckbox::render | ( | ) |
Renders checkbox options for this group
Definition at line 83 of file GroupFormCheckbox.php.
References $id, XoopsLocaleEn_US\ALL, Xoops\Form\Element\getName(), and Xoops\Form\GroupFormCheckbox\renderOptionTree().
|
private |
Renders checkbox options for an item tree
string | $tree | tree |
array | $option | option |
string | $prefix | prefix |
array | $parentIds | parent ids |
Definition at line 122 of file GroupFormCheckbox.php.
References Xoops\$option, $pid, and Xoops\Form\Element\getName().
Referenced by Xoops\Form\GroupFormCheckbox\render().
Xoops\Form\GroupFormCheckbox::setOptionTree | ( | & | $optionTree | ) |
Sets the tree structure of items
array | $optionTree | options |
Definition at line 73 of file GroupFormCheckbox.php.
References Xoops\Form\GroupFormCheckbox\$optionTree.
|
private |
Definition at line 39 of file GroupFormCheckbox.php.
Referenced by Xoops\Form\GroupFormCheckbox\__construct().
|
private |
Definition at line 46 of file GroupFormCheckbox.php.
Referenced by Xoops\Form\GroupFormCheckbox\setOptionTree().
|
protected |
Definition at line 32 of file GroupFormCheckbox.php.