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

Public Member Functions

 XoopsFormSelectGroup ($caption, $name, $include_anon=false, $value=null, $size=1, $multiple=false)
 
- Public Member Functions inherited from XoopsFormSelect
 addOption ($value, $name= '')
 
 addOptionArray ($options)
 
 getOptions ($encode=false)
 
 getSize ()
 
 getValue ($encode=false)
 
 isMultiple ()
 
 render ()
 
 renderValidationJS ()
 
 setValue ($value)
 
 XoopsFormSelect ($caption, $name, $value=null, $size=1, $multiple=false)
 
- 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 ()
 

Additional Inherited Members

- Public Attributes inherited from XoopsFormSelect
 $_multiple = false
 
 $_options = array()
 
 $_size
 
 $_value = array()
 

Detailed Description

A select field with a choice of available groups

Definition at line 31 of file formselectgroup.php.

Member Function Documentation

XoopsFormSelectGroup::XoopsFormSelectGroup (   $caption,
  $name,
  $include_anon = false,
  $value = null,
  $size = 1,
  $multiple = false 
)

Constructor

Parameters
string$caption
string$name
bool$include_anonInclude group "anonymous"?
mixed$valuePre-selected value (or array of them).
int$sizeNumber or rows. "1" makes a drop-down-list.
bool$multipleAllow multiple selections?

Definition at line 43 of file formselectgroup.php.

References $member_handler, and xoops_gethandler().

Here is the call graph for this function:


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