Difference between revisions of "JForm::getFieldAttribute"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JForm::getFieldAttribute|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JForm::getFieldAttribute|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getFieldAttribute ( |
+ | $name | ||
+ | $attribute | ||
+ | $default=null | ||
+ | $group=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 44: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 287 of libraries/joomla/form/form.php | |
− | |||
− | libraries/joomla/form/form.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JForm::getFieldAttribute source code''' on [[jplatform:form/form.php#cl-279|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JForm/11.1|JForm]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]] | ||
+ | * [[JForm::getFieldAttribute|Other versions of JForm::getFieldAttribute]] | ||
+ | {{SeeAlso:JForm::getFieldAttribute}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JForm::getFieldAttribute|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JForm::getFieldAttribute|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 61: | Line 63: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JForm]][[Category:JForm::getFieldAttribute]]</noinclude> | <noinclude>[[Category:JForm]][[Category:JForm::getFieldAttribute]]</noinclude> |
Revision as of 20:59, 27 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::getFieldAttribute[edit]
Description[edit]
Method to get an attribute value from a field XML element.
Template:Description:JForm::getFieldAttribute [Edit Descripton]
public function getFieldAttribute (
$name
$attribute
$default=null
$group=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$name | |||
$attribute | |||
$default | null | ||
$group | null |
- Returns
- Defined on line 287 of libraries/joomla/form/form.php
See also[edit]
- JForm::getFieldAttribute source code on BitBucket
- Class JForm
- Subpackage Form
- Other versions of JForm::getFieldAttribute
Template:SeeAlso:JForm::getFieldAttribute [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />