API15

JButtonPopup/fetchId: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
Get the button id
Get the button id


<span class="editsection" style="font-size:76%;">
 
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>


<! removed transcluded page call, red link never existed >
<! removed transcluded page call, red link never existed >
Line 38: Line 36:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
<! removed transcluded page call, red link never existed >
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=fetchId
  category=fetchId
  category=JButtonPopup
  category=JButtonPopup
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00: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/popup.php

Importing

jimport( 'joomla.html.toolbar.button.popup' );

Source Body

function fetchId($name)
{
        return $this->_parent->_name.'-'."popup-$name";
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples