User Login    
 + Register
  • Main navigation
Login
Username:

Password:


Lost Password?

Register now!
Who's Online
83 user(s) are online (12 user(s) are browsing XoopsWiki)

Members: 5
Guests: 78

Mamba, trabis, summary, wishcraft, andrey3761, more...
Documentation
Nominate XOOPS!!!!
[Main Page]

Dev:XoopsFormSelect

From XOOPS Project

Main Page | Recent changes | Edit this page | Page history | Switch to MediaWiki mode

Printable version | Disclaimers | Privacy policy
Category: Development

Contents

Definition

XoopsFormSelect($caption, $name, $value=null, $size=1, $multiple=false)

Usage

XoopsFormSelect is a normal drop-down menu.

Most Important Functions

   addOption($value, $name="", $disabled = false) - add an option to the select, if no name is given the value carries over. From XOOPS 2.2, $disabled can be set to true in order to make the option non-selectable
   addOptionArray($options, $disabled=array()) - add options from a value-name pair array. The array's key is the value. From XOOPS 2.2, $disabled can be an array of values that should be disabled


Child Classes

   XoopsFormSelectCountry($caption, $name, $value=null, $size=1) - Countries
   XoopsFormSelectGroup($caption, $name, $include_anon=false, $value=null, $size=1, $multiple=false) - Usergroups
   XoopsFormSelectLang($caption, $name, $value=null, $size=1) - Language selection
   XoopsFormSelectMatchOption($caption, $name, $value=null, $size=1) - Match ("Starts with", "Ends With", "Equals" or "Contains") selection
   XoopsFormSelectTheme($caption, $name, $value=null, $size=1) - Theme selection
   XoopsFormSelectTimezone($caption, $name, $value=null, $size=1) - Timezone selection
   XoopsFormSelectUser($caption, $name, $include_anon=false, $value=null, $size=1, $multiple=false) - User selection, $include_anon will include the anonymous user if true

Common for all these classes is that they do not need the addOption - options are automatically populated

Back to Main Page

Retrieved from "http://www.xoops.org/modules/mediawiki/index.php/Dev:XoopsFormSelect"

This page has been accessed 410 times. This page was last modified 17:21, 15 December 2007. Content is available under XOOPS Project.


Powered by
XOOPS Code hosted on SourceForge

Powered by PHP



Powered by MySQL

Powered by Smarty

OSI certified

All content on this site is subject to the Creative Commons License
Local Support Sites