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

Public Member Functions

 XoopsFormSelectMatchOption ($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 selection box with options for matching search terms.

Definition at line 28 of file formselectmatchoption.php.

Member Function Documentation

XoopsFormSelectMatchOption::XoopsFormSelectMatchOption (   $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 40 of file formselectmatchoption.php.

References _CONTAINS, _ENDSWITH, _MATCHES, _STARTSWITH, XOOPS_MATCH_CONTAIN, XOOPS_MATCH_END, XOOPS_MATCH_EQUAL, and XOOPS_MATCH_START.


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