XOOPS 2.5.6
Final
|
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() | |
User Select field
Definition at line 30 of file formselectuser.php.
XoopsFormSelectUser::XoopsFormSelectUser | ( | $caption, | |
$name, | |||
$include_anon = false , |
|||
$value = null , |
|||
$size = 1 , |
|||
$multiple = false |
|||
) |
Constructor
string | $caption | |
string | $name | |
mixed | $value | Pre-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_anon | Include user "anonymous"? |
int | $size | Number or rows. "1" makes a drop-down-list. |
bool | $multiple | Allow multiple selections? |
Definition at line 43 of file formselectuser.php.
References $criteria, $GLOBALS, $limit, $member_handler, $token, if, xoops_gethandler(), and xoops_loadLanguage().