Difference between revisions of "JForm::reset"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public JForm::reset ($xml=false) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 30: | ||
boolean True on success. | boolean True on success. | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/form/form.php | + | libraries/joomla/form/form.php (line 770) |
+ | * see source code in [[jplatform:form/form.php#cl-770|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== |
Revision as of 20:34, 23 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JForm::reset[edit]
Description[edit]
Method to reset the form data store and optionally the form XML definition.
Template:Description:JForm::reset [Edit Descripton]
Since[edit]
Synopsis[edit]
public JForm::reset ($xml=false)
Parameter | Type | Default | Description |
---|---|---|---|
$xml | boolean | false | True to also reset the XML form definition. |
Returns[edit]
boolean True on success.
Defined in[edit]
libraries/joomla/form/form.php (line 770)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Examples[edit]
<CodeExamplesForm />