projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a comment.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
CheckboxGroup.class.php
diff --git
a/WEB-INF/lib/form/CheckboxGroup.class.php
b/WEB-INF/lib/form/CheckboxGroup.class.php
index
136cc06
..
0bb3ac4
100644
(file)
--- a/
WEB-INF/lib/form/CheckboxGroup.class.php
+++ b/
WEB-INF/lib/form/CheckboxGroup.class.php
@@
-33,17
+33,15
@@
class CheckboxGroup extends FormElement {
var $mOptions = array();
var $mLayout = "V";
var $mGroupIn = 1;
var $mOptions = array();
var $mLayout = "V";
var $mGroupIn = 1;
- var $class = 'CheckboxGroup';
var $mDataKeys = array();
var $mDataDeep = 1;
var $lSelAll = "All";
var $lSelNone = "None";
var $mDataKeys = array();
var $mDataDeep = 1;
var $lSelAll = "All";
var $lSelNone = "None";
- function __construct($name,$value="")
- {
- $this->name = $name;
- $this->value = $value;
- }
+ function __construct($name) {
+ $this->class = 'CheckboxGroup';
+ $this->name = $name;
+ }
function setChecked($value) { $this->mChecked = $value; }
function isChecked() { return $this->mChecked; }
function setChecked($value) { $this->mChecked = $value; }
function isChecked() { return $this->mChecked; }
@@
-65,7
+63,7
@@
class CheckboxGroup extends FormElement {
$this->lSelNone = $i18n->getKey('label.select_none');
}
$this->lSelNone = $i18n->getKey('label.select_none');
}
- function
toStringContro
l() {
+ function
getHtm
l() {
if ($this->id=="") $this->id = $this->name;
if ($this->id=="") $this->id = $this->name;