XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsFormSelectMatchOption Class Reference
Inheritance diagram for XoopsFormSelectMatchOption:
XoopsFormSelect XoopsFormElement

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from XoopsFormSelect
 $_options = []
 
 $_multiple = false
 
 $_size
 
 $_value = []
 
- Data Fields inherited from XoopsFormElement
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = ''
 
 $_hidden = false
 
 $_extra = ''
 
 $_required = false
 
 $_description = ''
 
 $_id = null
 

Detailed Description

Definition at line 25 of file formselectmatchoption.php.

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 XOOPS_MATCH_START, XOOPS_MATCH_END, XOOPS_MATCH_EQUAL, and XOOPS_MATCH_CONTAIN
int$sizeNumber of rows. "1" makes a drop-down-list

Definition at line 37 of file formselectmatchoption.php.

Member Function Documentation

◆ XoopsFormSelectMatchOption()

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

Definition at line 45 of file formselectmatchoption.php.


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