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

Public Member Functions

 XoopsFormRadioYN ($caption, $name, $value=null, $yes=_YES, $no=_NO)
 
- Public Member Functions inherited from XoopsFormRadio
 addOption ($value, $name= '')
 
 addOptionArray ($options)
 
 getDelimeter ($encode=false)
 
 getOptions ($encode=false)
 
 getValue ($encode=false)
 
 render ()
 
 setValue ($value)
 
 XoopsFormRadio ($caption, $name, $value=null, $delimeter= ' ')
 
- 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 XoopsFormRadio
 $_delimeter
 
 $_options = array()
 
 $_value = null
 
 $columns
 

Detailed Description

Yes/No radio buttons.

A pair of radio buttons labelled _YES and _NO with values 1 and 0

Definition at line 30 of file formradioyn.php.

Member Function Documentation

XoopsFormRadioYN::XoopsFormRadioYN (   $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 41 of file formradioyn.php.


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