Difference between revisions of "JFormField::getId"
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 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"> | ||
− | protected | + | protected function getId ( |
+ | $fieldId | ||
+ | $fieldName | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' string The id to be used for the field input tag. | |
− | string The id to be used for the field input tag. | + | * '''Defined''' on line 361 of libraries/joomla/form/formfield.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/form/formfield.php | ||
− | |||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JFormField::getId source code''' on [[jplatform:form/formfield.php#cl-353|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JFormField|JFormField]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | |
− | * | + | * [[API17:JFormField::getId|Other versions of JFormField::getId]] |
− | * [[JFormField::getId|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===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=* | ||
+ | namespace=CodeExample | ||
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::getId[edit]
Description[edit]
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[edit]
- JFormField::getId source code on BitBucket
- Class JFormField
- Subpackage Form
- Other versions of JFormField::getId
User contributed notes[edit]
Code Examples[edit]