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

Public Member Functions

 XoopsFormSelectCountry ($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 countries

Definition at line 29 of file formselectcountry.php.

Member Function Documentation

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

Constructor

Parameters
string$captionCaption
string$name"name" attribute
mixed$valuePre-selected value (or array of them). Legal are all 2-letter country codes (in capitals).
int$sizeNumber or rows. "1" makes a drop-down-list

Definition at line 40 of file formselectcountry.php.


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