updateAttributes(array('onclick'=>'window.location.href = "'.$escapeurl.'"; return true;'));
}
} //end constructor
function onQuickFormEvent($event, $arg, &$caller){
$value = $arg[0];
$escapeurl = $arg[1];
if ($value != null){
$this->updateAttributes(array('value'=> $value));
}
if ($escapeurl != null){
$this->updateAttributes(array('onclick'=>'window.location.href = "'.$escapeurl.'"; return true;'));
}
return true;
}
function getFrozenHtml(){
return HTML_QuickForm_submit::getFrozenHtml();
}
function freeze(){
return HTML_QuickForm_submit::freeze();
}
// }}}
} //end class MoodleQuickForm_cancel