API17:JToolBar::getInstance
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.
JToolBar::getInstance
Description
Returns the global object, only creating it if it doesn't already exist.
Description:JToolBar::getInstance [Edit Descripton]
Synopsis
public static JToolBar::getInstance ($name= 'toolbar')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | 'toolbar' | The name of the toolbar. |
Returns
The object.
Defined in
libraries/joomla/html/toolbar.php (line 75)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
