API15

API15:JToolBar/ construct

From Joomla! Documentation

[<! removed edit link to red link >]

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

Syntax

__construct($name= 'toolbar')
Parameter Name Default Value Description
$name 'toolbar'

Defined in

libraries/joomla/html/toolbar.php

Importing

jimport( 'joomla.html.toolbar' );

Source Body

function __construct($name = 'toolbar')
{
        $this->_name = $name;

        // Set base path to find buttons
        $this->_buttonPath[] = dirname(__FILE__).DS.'toolbar'.DS.'button';

}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples