projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring - some renaming.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
Hidden.class.php
diff --git
a/WEB-INF/lib/form/Hidden.class.php
b/WEB-INF/lib/form/Hidden.class.php
index
8483746
..
e06466e
100644
(file)
--- a/
WEB-INF/lib/form/Hidden.class.php
+++ b/
WEB-INF/lib/form/Hidden.class.php
@@
-29,21
+29,20
@@
import('form.FormElement');
class Hidden extends FormElement {
import('form.FormElement');
class Hidden extends FormElement {
- var $mValue;
- var $cClassName = "Hidden";
+ var $class = 'Hidden';
function __construct($name,$value="")
{
function __construct($name,$value="")
{
- $this->
mName
= $name;
- $this->
mValue
= $value;
+ $this->
name
= $name;
+ $this->
value
= $value;
}
}
- function
toStringContro
l() {
+ function
getHtm
l() {
- if ($this->
mId=="") $this->mId = $this->mN
ame;
+ if ($this->
id=="") $this->id = $this->n
ame;
$html = "\n\t<input";
$html = "\n\t<input";
- $html .= " type=\"hidden\" name=\"$this->
mName\" id=\"$this->mI
d\"";
+ $html .= " type=\"hidden\" name=\"$this->
name\" id=\"$this->i
d\"";
$html .= " value=\"".$this->getValue()."\"";
$html .= ">";
$html .= " value=\"".$this->getValue()."\"";
$html .= ">";