XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsGroupFormCheckBox Class Reference
Inheritance diagram for XoopsGroupFormCheckBox:
Inheritance graph

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()
 

Detailed Description

Renders checkbox options for a group permission form

Definition at line 182 of file grouppermform.php.

Member Function Documentation

XoopsGroupFormCheckBox::_renderOptionTree ( $tree,
  $option,
  $prefix,
  $parentIds = array() 
)

Renders checkbox options for an item tree

Parameters
string$tree
array$option
string$prefix
array$parentIdsprivate

Definition at line 289 of file grouppermform.php.

References XoopsFormElement\getName().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsGroupFormCheckBox::render ( )

Renders checkbox options for this group

Returns
string public

Definition at line 250 of file grouppermform.php.

References $ret, _ALL, _renderOptionTree(), and XoopsFormElement\getName().

Here is the call graph for this function:

XoopsGroupFormCheckBox::setOptionTree ( $optionTree)

Sets the tree structure of items

Parameters
array$optionTreepublic

Definition at line 239 of file grouppermform.php.

XoopsGroupFormCheckBox::setValue (   $value)

Sets pre-selected values

Parameters
mixed$valueA group ID or an array of group IDs public

Definition at line 222 of file grouppermform.php.

Referenced by XoopsGroupFormCheckBox().

Here is the caller graph for this function:

XoopsGroupFormCheckBox::XoopsGroupFormCheckBox (   $caption,
  $name,
  $groupId,
  $values = null 
)

Constructor

Definition at line 206 of file grouppermform.php.

References XoopsFormElement\setCaption(), XoopsFormElement\setName(), and setValue().

Here is the call graph for this function:

Member Data Documentation

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.


The documentation for this class was generated from the following file: