kernel
[ class tree: kernel ] [ index: kernel ] [ all elements ]

Class: XoopsFormRadioYN

Source Location: /class/xoopsform/formradioyn.php

Class Overview

XoopsFormElement
   |
   --XoopsFormRadio
      |
      --XoopsFormRadioYN

Yes/No radio buttons.


Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Methods


Inherited Methods

Class: XoopsFormRadio

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
XoopsFormRadio::setValue()
Set the pre-selected value

Class: XoopsFormElement

XoopsFormElement::XoopsFormElement()
constructor
XoopsFormElement::getAccessKey()
get the "accesskey" attribute for the element
XoopsFormElement::getAccessString()
If the accesskey is found in the specified string, underlines it
XoopsFormElement::getCaption()
get the caption for the element
XoopsFormElement::getClass()
get the "class" attribute 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::isContainer()
Is this element a container of other elements?
XoopsFormElement::isHidden()
Find out if an element is "hidden".
XoopsFormElement::render()
Generates output for the element.
XoopsFormElement::setAccessKey()
set the "accesskey" attribute for the element
XoopsFormElement::setCaption()
set the caption for the element
XoopsFormElement::setClass()
set the "class" attribute 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

Class Details

[line 55]
Yes/No radio buttons.

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




Tags:

copyright:  copyright (c) 2000-2003 XOOPS.org
author:  Kazumi Ono <onokazu@xoops.org>


[ Top ]


Class Methods


constructor XoopsFormRadioYN [line 66]

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

Constructor



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"

[ Top ]


Documentation generated on Fri, 03 Mar 2006 08:56:01 +0000 by phpDocumentor 1.3.0RC3