import('form.FormElement');
class Submit extends FormElement {
- var $cClassName = "Submit";
+ var $class = 'Submit';
function __construct($name,$value="")
{
$this->value = $value;
}
- function toStringControl() {
+ function getHtml() {
if ($this->id=="") $this->id = $this->name;