JButtonHelp/fetchId: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 40: | Line 40: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=fetchId | category=fetchId | ||
category=JButtonHelp | category=JButtonHelp | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:21, 25 March 2017
Description
Get the button id
<! removed transcluded page call, red link never existed >
Syntax
fetchId($name)
| Parameter Name | Default Value | Description |
|---|---|---|
| $name | $name Button name |
Returns
string Button CSS Id
Defined in
libraries/joomla/html/toolbar/button/help.php
Importing
jimport( 'joomla.html.toolbar.button.help' );
Source Body
public function fetchId($name)
{
return $this->_parent->getName().'-'."help";
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples