API17

API17:JToolBar::getInstance

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples