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

Public Member Functions

 __construct ($caption, $name, $value=null, $yes=_YES, $no=_NO)
 
 XoopsFormRadioYN ($caption, $name, $value=null, $yes=_YES, $no=_NO)
 
- Public Member Functions inherited from XoopsFormRadio
 __construct ($caption, $name, $value=null)
 
 XoopsFormRadio ($caption, $name, $value=null)
 
 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 XoopsFormRadio
 $_options = []
 
 $_value = null
 
- 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 formradioyn.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $caption,
$name,
$value = null,
$yes = _YES,
$no = _NO )

Constructor

Parameters
string$caption
string$name
string$valuePre-selected value, can be "0" (No) or "1" (Yes)
string$yesString for "Yes"
string$noString for "No"

Definition at line 36 of file formradioyn.php.

Member Function Documentation

◆ XoopsFormRadioYN()

XoopsFormRadioYN ( $caption,
$name,
$value = null,
$yes = _YES,
$no = _NO )

Definition at line 42 of file formradioyn.php.


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