|
XOOPS 2.5.6
Final
|

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() | |
A select field with countries
Definition at line 29 of file formselectcountry.php.
| XoopsFormSelectCountry::XoopsFormSelectCountry | ( | $caption, | |
| $name, | |||
$value = null, |
|||
$size = 1 |
|||
| ) |
Constructor
| string | $caption | Caption |
| string | $name | "name" attribute |
| mixed | $value | Pre-selected value (or array of them). Legal are all 2-letter country codes (in capitals). |
| int | $size | Number or rows. "1" makes a drop-down-list |
Definition at line 40 of file formselectcountry.php.