Class Trees Index phpDocumentor Project Page

Class XoopsFormRadioYN

(line 54)

XoopsFormElement
   |
   --XoopsFormRadio
      |
      --XoopsFormRadioYN

Located in File: Program_Root/class/xoopsform/formradioyn.php


Yes/No radio buttons.

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


Class Variable Summary


Inherited Class Variable Summary


Method Summary

void

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


Constructor

Inherited Method Summary

Inherited From Class XoopsFormRadio

Function Description
XoopsFormRadio::XoopsFormRadio() Constructor
XoopsFormRadio::addOption() Add an option
XoopsFormRadio::addOptionArray() Adds multiple options
XoopsFormRadio::getOptions() Gets the options
XoopsFormRadio::getValue() Get the pre-selected value
XoopsFormRadio::render() Prepare HTML for output

Inherited From Class XoopsFormElement

Function Description
XoopsFormElement::XoopsFormElement() constructor
XoopsFormElement::getCaption() get the caption for the element
XoopsFormElement::getDescription() get the element's description
XoopsFormElement::getExtra() Get the extra attributes for the element
XoopsFormElement::getName() get the "name" attribute for the element
XoopsFormElement::isHidden() Find out if an element is "hidden".
XoopsFormElement::render() Generate output for the form element.
XoopsFormElement::setCaption() set the caption for the element
XoopsFormElement::setDescription() set the element's description
XoopsFormElement::setExtra() Add extra attributes to the element.
XoopsFormElement::setHidden() flag the element as "hidden"
XoopsFormElement::setName() set the "name" attribute for the element

Method Detail

Constructor XoopsFormRadioYN (line 65)

void

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

Constructor
Function Parameters:
- string $caption:
- string $name:
- string $value: Pre-selected value, can be "0" (No) or "1" (Yes)
- string $yes: String for "Yes"
- string $no: String for "No"
Function Info:

[ Top ]



Variable Detail



Documention generated on Fri, 21 Feb 2003 02:07:28 +0100 by phpDocumentor 1.2.0rc1
proudly hosted at
SourceForge.net Logo