@@ -32,9 +32,9 @@ class FormElement {
3232 var $ name ;
3333 var $ form_name = '' ;
3434 var $ value = '' ;
35+ var $ size = '' ;
36+ var $ max_length = '' ;
3537 // TODO: refactoring ongoing down from here.
36- var $ mSize = "" ;
37- var $ mMaxLength = "" ;
3838 var $ mTabindex = "" ;
3939 var $ mAccesskey = "" ;
4040 var $ mOnSelect = "" ;
@@ -66,22 +66,22 @@ function getValue() { return $this->value; }
6666 function setValueSafe ($ value ) { $ this ->value = $ value ;}
6767 function getValueSafe () { return $ this ->value ; }
6868
69- function setId ($ id ) { $ this ->id = $ id ; }
69+ function setId ($ id ) { $ this ->id = $ id ; }
7070 function getId () { return $ this ->id ; }
7171
72- function setSize ($ value ) { $ this ->mSize = $ value ; }
73- function getSize () { return $ this ->mSize ; }
72+ function setSize ($ value ) { $ this ->size = $ value ; }
73+ function getSize () { return $ this ->size ; }
7474
7575 function setLabel ($ label ) { $ this ->mLabel = $ label ; }
7676 function getLabel () { return $ this ->mLabel ; }
7777
78- function setMaxLength ($ value ) { $ this ->mMaxLength = $ value ; }
79- function getMaxLength () { return $ this ->mMaxLength ; }
78+ function setMaxLength ($ value ) { $ this ->max_length = $ value ; }
79+ function getMaxLength () { return $ this ->max_length ; }
8080
81- function setTabindex ($ value ) { $ this ->mTabindex = $ value ; }
81+ function setTabindex ($ value ) { $ this ->mTabindex = $ value ; }
8282 function getTabindex () { return $ this ->mTabindex ; }
8383
84- function setAccesskey ($ value ) { $ this ->mAccesskey = $ value ; }
84+ function setAccesskey ($ value ) { $ this ->mAccesskey = $ value ; }
8585 function getAccesskey () { return $ this ->mAccesskey ; }
8686
8787 function setStyle ($ value ) { $ this ->mStyle = $ value ; }
0 commit comments