XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsFormSelectUser Class Reference
Inheritance diagram for XoopsFormSelectUser:
Inheritance graph

Public Member Functions

 XoopsFormSelectUser ($caption, $name, $include_anon=false, $value=null, $size=1, $multiple=false)
 
- Public Member Functions inherited from XoopsFormElementTray
 addElement (&$formElement, $required=false)
 
 getDelimeter ($encode=false)
 
getElements ($recurse=false)
 
getRequired ()
 
 isContainer ()
 
 isRequired ()
 
 render ()
 
 XoopsFormElementTray ($caption, $delimeter=" ", $name="")
 
- Public Member Functions inherited from XoopsFormElement
 getAccessKey ()
 
 getAccessString ($str)
 
 getCaption ($encode=false)
 
 getClass ()
 
 getDescription ($encode=false)
 
 getExtra ($encode=false)
 
 getFormType ()
 
 getName ($encode=true)
 
 getNocolspan ()
 
 getTitle ($encode=true)
 
 isContainer ()
 
 isHidden ()
 
 isRequired ()
 
 render ()
 
 renderValidationJS ()
 
 setAccessKey ($key)
 
 setCaption ($caption)
 
 setClass ($class)
 
 setDescription ($description)
 
 setExtra ($extra, $replace=false)
 
 setFormType ($value= '')
 
 setHidden ()
 
 setName ($name)
 
 setNocolspan ($nocolspan=true)
 
 XoopsFormElement ()
 

Additional Inherited Members

- Public Attributes inherited from XoopsFormElementTray
 $_delimeter
 
 $_elements = array()
 
 $_required = array()
 

Detailed Description

User Select field

Definition at line 30 of file formselectuser.php.

Member Function Documentation

XoopsFormSelectUser::XoopsFormSelectUser (   $caption,
  $name,
  $include_anon = false,
  $value = null,
  $size = 1,
  $multiple = false 
)

Constructor

Parameters
string$caption
string$name
mixed$valuePre-selected value (or array of them). For an item with massive members, such as "Registered Users", "$value" should be used to store selected temporary users only instead of all members of that item
bool$include_anonInclude user "anonymous"?
int$sizeNumber or rows. "1" makes a drop-down-list.
bool$multipleAllow multiple selections?

Definition at line 43 of file formselectuser.php.

References $criteria, $GLOBALS, $limit, $member_handler, $token, if, xoops_gethandler(), and xoops_loadLanguage().

Here is the call graph for this function:


The documentation for this class was generated from the following file: