JForm::reset
Method to reset the form data store and optionally the form XML definition.
Signature
public function reset([boolean
$xml = false] )
Parameters
-
$xml
- True to also reset the XML form definition.
Returns
- boolean
- True on success.