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

Class: CDMFormSelectCountry

Source Location: /modules/xbs_cdm/class/class.cdm.form.php

Class Overview

XoopsFormElement
   |
   --XoopsFormSelect
      |
      --CDMFormSelect
         |
         --CDMFormSelectCountry

Create a Country selection list


Author(s):

Copyright:

  • copyright (c) 2000-2003 XOOPS.org

Methods


Inherited Methods

Class: CDMFormSelect

CDMFormSelect::CDMFormSelect()
Constructor

Class: XoopsFormSelect

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
XoopsFormSelect::setValue()
Set pre-selected values

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 212]
Create a Country selection list



Tags:

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


[ Top ]


Class Methods


constructor CDMFormSelectCountry [line 222]

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

Constructor



Parameters:

string   $caption   Caption
string   $name   "name" attribute
mixed   $value   Pre-selected value (or array of them).
int   $size   Number of rows. "1" makes a drop-down-list
string   $lang   The language set for the returned codes, defaults to CDM_DEF_LANG (normally ENL)

[ Top ]


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