API17:JToolBar::getInstance
From Joomla! Documentation
JToolBar::getInstance
Description
Returns the global object, only creating it if it doesn't already exist.
public static function getInstance ($name= 'toolbar')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | 'toolbar' | The name of the toolbar. |
- Returns The object.
- Defined on line 75 of libraries/joomla/html/toolbar.php
See also
JToolBar::getInstance source code on BitBucket
Class JToolBar
Subpackage Html- Other versions of JToolBar::getInstance
User contributed notes
Code Examples