Class Trees Index phpDocumentor Project Page

Class XoopsFormSelectCountry

(line 57)

XoopsFormElement
   |
   --XoopsFormSelect
      |
      --XoopsFormSelectCountry

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


A select field with countries

Class Variable Summary


Inherited Class Variable Summary


Method Summary

void

constructor XoopsFormSelectCountry ( $caption, $name, [$value = null], [$size = 1] )


Constructor

Inherited Method Summary

Inherited From Class XoopsFormSelect

Function Description
XoopsFormSelect::XoopsFormSelect() Constructor
XoopsFormSelect::addOption() Add an option
XoopsFormSelect::addOptionArray() Add multiple options
XoopsFormSelect::getOptions() Get all options
XoopsFormSelect::getSize() Get the size
XoopsFormSelect::getValue() Get an array of pre-selected values
XoopsFormSelect::isMultiple() Are multiple selections allowed?
XoopsFormSelect::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 XoopsFormSelectCountry (line 68)

void

XoopsFormSelectCountry( string $caption, string $name, [mixed $value = null], [int $size = 1])

Constructor
Function Parameters:
- string $caption: Caption
- string $name: "name" attribute
- mixed $value: Pre-selected value (or array of them). Legal are all 2-letter country codes (in capitals).
- int $size: Number or rows. "1" makes a drop-down-list
Function Info:

[ Top ]



Variable Detail



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