JFormField::getId: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method to get the id used for the field input tag. | Method to get the id used for the field input tag. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 38: | Line 38: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | ||
* [[API17:JFormField::getId|Other versions of JFormField::getId]] | * [[API17:JFormField::getId|Other versions of JFormField::getId]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JFormField::getId | category=JFormField::getId | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:05, 25 March 2017
JFormField::getId
Description
Method to get the id used for the field input tag.
protected function getId (
$fieldId
$fieldName
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $fieldId | string | The field element id. | |
| $fieldName | string | The field element name. |
- Returns string The id to be used for the field input tag.
- Defined on line 361 of libraries/joomla/form/formfield.php
- Since

See also
JFormField::getId source code on BitBucket
Class JFormField
Subpackage Form- Other versions of JFormField::getId
User contributed notes
Code Examples