Difference between revisions of "JFormField::setForm"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Method to attach a object to the field. | Method to attach a object to the field. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function setForm (JForm $form) | public function setForm (JForm $form) | ||
Line 29: | Line 27: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JFormField::setForm source code''' on [[jplatform:form/formfield.php#cl-254|BitBucket]] | * {{JVer|11.1}} '''JFormField::setForm source code''' on [[jplatform:form/formfield.php#cl-254|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JFormField | + | * {{JVer|11.1}} Class [[API17:JFormField|JFormField]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Form | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] |
− | * [[JFormField::setForm|Other versions of JFormField::setForm]] | + | * [[API17:JFormField::setForm|Other versions of JFormField::setForm]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFormField::setForm | category=JFormField::setForm | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 47: | Line 43: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:05, 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.
JFormField::setForm[edit]
Description[edit]
Method to attach a object to the field.
public function setForm (JForm $form)
Parameter | Type | Default | Description |
---|---|---|---|
$form | object | $form The object to attach to the form field. |
- Returns object The form field object so that the method can be used in a chain.
- Defined on line 262 of libraries/joomla/form/formfield.php
- Since
See also[edit]
- JFormField::setForm source code on BitBucket
- Class JFormField
- Subpackage Form
- Other versions of JFormField::setForm
User contributed notes[edit]
Code Examples[edit]