API16:JToolBar/ construct
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Constructor
Description:JToolBar/ construct
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'; }
[Edit See Also] SeeAlso:JToolBar/ construct
Examples
<CodeExamplesForm />
