API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormSelectTimezone Class Reference
Inheritance diagram for XoopsFormSelectTimezone:
Collaboration diagram for XoopsFormSelectTimezone:

Public Member Functions

 __construct ($caption, $name, $value=null, $size=1)
 
- Public Member Functions inherited from XoopsFormSelect
 __construct ($caption, $name, $value=null, $size=1, $multiple=false)
 
 isMultiple ()
 
 getSize ()
 
 getValue ($encode=false)
 
 setValue ($value)
 
 addOption ($value, $name='')
 
 addOptionArray ($options)
 
 getOptions ($encode=false)
 
 render ()
 
 renderValidationJS ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ($encode=false)
 
 getTitle ($encode=true)
 
 setDescription ($description)
 
 getDescription ($encode=false)
 
 setHidden ()
 
 isHidden ()
 
 isRequired ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ($encode=false)
 
 setNocolspan ($nocolspan=true)
 
 getNocolspan ()
 
 getFormType ()
 
 setFormType ($value='')
 
 renderValidationJS ()
 
 render ()
 

Additional Inherited Members

- Data Fields inherited from XoopsFormSelect
 $_options = array()
 
 $_multiple = false
 
 $_size
 
 $_value = array()
 
- Data Fields inherited from XoopsFormElement
 $customValidationCode = array()
 
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = array()
 
 $_hidden = false
 
 $_extra = array()
 
 $_required = false
 
 $_description = ''
 
 $_nocolspan = false
 
 $_formtype = ''
 

Detailed Description

A select box with timezones

Constructor & Destructor Documentation

◆ __construct()

__construct (   $caption,
  $name,
  $value = null,
  $size = 1 
)

Constructor

Parameters
string$caption
string$name
mixed$valuePre-selected value (or array of them). Legal values are "-12" to "12" with some ".5"s strewn in ;-)
int$sizeNumber of rows. "1" makes a drop-down-box.
Here is the call graph for this function:

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