X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e1703495130c8ed88fe210f50a2a6b453b3c566b..cd5e077ecb497431decde4835138b877d63b261c:/WEB-INF/lib/form/Checkbox.class.php diff --git a/WEB-INF/lib/form/Checkbox.class.php b/WEB-INF/lib/form/Checkbox.class.php index 4c6a9fd7..e3d9cf2e 100644 --- a/WEB-INF/lib/form/Checkbox.class.php +++ b/WEB-INF/lib/form/Checkbox.class.php @@ -31,13 +31,12 @@ import('form.FormElement'); class Checkbox extends FormElement { var $mChecked = false; var $mOptions = null; - var $class = 'Checkbox'; - function __construct($name,$value="") - { - $this->name = $name; - $this->value = $value; - } + function __construct($name, $value = '') { + $this->class = 'Checkbox'; + $this->name = $name; + $this->value = $value; + } function setChecked($value) { $this->mChecked = $value; } function isChecked() { return $this->mChecked; }