XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
formselectgroup.php
Go to the documentation of this file.
1
<?php
21
defined(
'XOOPS_ROOT_PATH'
) or die('Restricted access');
22
26
xoops_load
('
XoopsFormElement
');
27
31
class
XoopsFormSelectGroup
extends
XoopsFormSelect
32
{
43
function
XoopsFormSelectGroup
($caption, $name, $include_anon =
false
, $value = null, $size = 1, $multiple =
false
)
44
{
45
$this->XoopsFormSelect($caption, $name, $value, $size, $multiple);
46
$member_handler
= &
xoops_gethandler
(
'member'
);
47
if
(! $include_anon) {
48
$this->addOptionArray(
$member_handler
->getGroupList(
new
Criteria
(
'groupid'
, XOOPS_GROUP_ANONYMOUS,
'!='
)));
49
}
else
{
50
$this->addOptionArray(
$member_handler
->getGroupList());
51
}
52
}
53
}
54
55
?>
L:
0xoops
xoops-2.5.6
htdocs
class
xoopsform
formselectgroup.php
Generated on Fri May 10 2013 01:04:25 for XOOPS 2.5.6 by
1.8.3.1