API17

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>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JForm::getFieldAttribute ($name, $attribute, $default=null, $group=null)
+
public function getFieldAttribute (
 +
        $name
 +
        $attribute
 +
        $default=null
 +
        $group=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 287 of libraries/joomla/form/form.php
===Defined in===
 
libraries/joomla/form/form.php (line 287)
 
* see source code in [[jplatform:form/form.php#cl-287|BitBucket]]
 
===Referenced by===
 
 
===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>
* [[JForm/11.1|JForm]]
+
===User contributed notes===
* [[JForm::getFieldAttribute|Other versions of this method]]
 
{{SeeAlso:JForm::getFieldAttribute}}
 
===Examples===
 
 
<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.

Joomla 11.1 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]

Template:SeeAlso:JForm::getFieldAttribute [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />