Difference between revisions of "JForm::setValue"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Method to set the value of a field. | Method to set the value of a field. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function setValue ( |
+ | $name | ||
+ | $group=null | ||
+ | $value=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 35: | Line 36: | ||
|- | |- | ||
|} | |} | ||
− | === | + | * '''Returns''' |
+ | * '''Defined''' on line 948 of libraries/joomla/form/form.php | ||
+ | ===See also=== | ||
+ | * {{JVer|11.1}} '''JForm::setValue source code''' on [[jplatform:form/form.php#cl-940|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[API17:JForm|JForm]] | ||
+ | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | ||
+ | * [[API17:JForm::setValue|Other versions of JForm::setValue]] | ||
− | + | ||
− | + | ===User contributed notes=== | |
− | === | + | === Code Examples === |
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JForm::setValue | category=JForm::setValue | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:04, 24 March 2017
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::setValue[edit]
Description[edit]
Method to set the value of a field.
public function setValue (
$name
$group=null
$value=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | |||
$group | null | ||
$value | null |
- Returns
- Defined on line 948 of libraries/joomla/form/form.php
See also[edit]
- JForm::setValue source code on BitBucket
- Class JForm
- Subpackage Form
- Other versions of JForm::setValue
User contributed notes[edit]
Code Examples[edit]