API16

JToolBar/ construct

< API16:JToolBar

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description

Constructor



Syntax

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

Defined in

libraries/joomla/html/toolbar.php

Importing

jimport( 'joomla.html.toolbar' );

Source Body

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

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

}



Examples

Code Examples


Advertisement