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

Public Member Functions

 XoopsFormSelectLang ($caption, $name, $value=null, $size=1)
 
- 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 available languages

Definition at line 29 of file formselectlang.php.

Member Function Documentation

XoopsFormSelectLang::XoopsFormSelectLang (   $caption,
  $name,
  $value = null,
  $size = 1 
)

Constructor

Parameters
string$caption
string$name
mixed$valuePre-selected value (or array of them). Legal is any name of a XOOPS_ROOT_PATH."/language/" subdirectory.
int$sizeNumber of rows. "1" makes a drop-down-list.

Definition at line 40 of file formselectlang.php.


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