XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
formselectcheckgroup.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
You may not change or alter any portion of this comment or credits
5
of supporting developers from this source code or any supporting source code
6
which is considered copyrighted (c) material of the original comment or credit authors.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
*/
12
24
defined(
'XOOPS_ROOT_PATH'
) or die('Restricted access');
25
26
xoops_load
('
XoopsFormCheckBox
');
36
class
XoopsFormSelectCheckGroup
extends XoopsFormCheckBox
37
{
48
function
XoopsFormSelectCheckGroup
($caption, $name, $value = null, $size = 1, $multiple =
false
)
49
{
50
$member_handler
= &
xoops_gethandler
(
'member'
);
51
$this->userGroups =
$member_handler
->getGroupList();
52
$this->XoopsFormCheckBox($caption, $name, $value,
''
,
true
);
53
$this->columns = 3;
54
foreach
($this->userGroups as $group_id => $group_name) {
55
$this->addOption($group_id, $group_name);
56
}
57
}
58
}
59
60
?>
L:
0xoops
xoops-2.5.6
htdocs
class
xoopsform
formselectcheckgroup.php
Generated on Fri May 10 2013 01:04:25 for XOOPS 2.5.6 by
1.8.3.1