The static method JToolBarHelper:: title is used to add a title to the page of a Joomla! component on the admin side.

Typically the call is inserted in the file view.html.php with a piece of code like this:
JToolBarHelper::title ( JText::_ ( 'COM_COMPONENTNAME_XYZ' ), 'lamp' );
The first parameter contains the title, often localized using JText, the second parameter determines the ''image" that appears on his left. I put image between quotes because we will see that this is not a picture or even an icon. We will follow the evolution of this piece of PHP code:
JToolBarHelper::title ( 'HelloWorld manager', 'lamp' );
Will result in the most classic titles - Hello World Manager - flanked by a light bulb; in the face of this instruction, the HTML produced by the framework Joomla! is the following:
<h1class="page-title"> <span class="icon-lamp"></span>HelloWorld manager
</h1>
An important thing to note, "Hello World manager" is out of the span tag.
