API15

API15:JButtonStandard/fetchId

From Joomla! Documentation

Description

Get the button CSS Id


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

Syntax

fetchId($type='Standard', $name= '', $text= '', $task= '', $list=true, $hideMenu=false)
Parameter Name Default Value Description
$type 'Standard'
$name
$text
$task
$list true
$hideMenu false

Returns

string Button CSS Id

Defined in

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

Importing

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

Source Body

function fetchId( $type='Standard', $name = '', $text = '', $task = '', $list = true, $hideMenu = false )
{
        return $this->_parent->_name.'-'.$name;
}


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

Examples

Code Examples