XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
formselectcountry.php
1
<?php
13
14
if
(!defined(
'XOOPS_ROOT_PATH'
)) {
15
exit();
16
}
17
21
include_once XOOPS_ROOT_PATH .
'/class/xoopslists.php'
;
22
26
include_once XOOPS_ROOT_PATH .
'/class/xoopsform/formselect.php'
;
27
28
29
class
XoopsFormSelectCountry
extends
XoopsFormSelect
30
{
40
public
function
__construct
($caption, $name, $value=
null
, $size=1)
41
{
42
$this->
XoopsFormSelect
($caption, $name, $value, $size);
43
$this->
addOptionArray
(XoopsLists::getCountryList());
44
}
45
public
function
XoopsFormSelectCountry
($caption, $name, $value=
null
, $size=1)
46
{
47
return
$this->
__construct
($caption, $name, $value, $size);
48
}
49
}
XoopsFormElement\__construct
__construct()
Definition
formelement.php:80
XoopsFormSelectCountry
Definition
formselectcountry.php:30
XoopsFormSelectCountry\__construct
__construct($caption, $name, $value=null, $size=1)
Definition
formselectcountry.php:40
XoopsFormSelect
Definition
formselect.php:19
XoopsFormSelect\addOptionArray
addOptionArray($options)
Definition
formselect.php:135
html
class
xoopsform
formselectcountry.php
Generated by
1.13.2