API16

API16:JButtonLink/fetchId

From Joomla! Documentation

Description

Get the button CSS Id


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

Syntax

fetchId($name)
Parameter Name Default Value Description
$name

Returns

string Button CSS Id

Defined in

libraries/joomla/html/toolbar/button/link.php

Importing

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

Source Body

public function fetchId($name)
{
        return $this->_parent->getName().'-'.$name;
}


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

Examples

Code Examples