API16

JToolBar: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JToolBar}} ===Defined in=== lib...
 
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JToolBar}}
<nowiki>[</nowiki>[[Description:JToolBar|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JToolBar}}


===Defined in===
===Defined in===
Line 46: Line 43:
<source lang="php">jimport( 'joomla.html.toolbar' );</source>
<source lang="php">jimport( 'joomla.html.toolbar' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JToolBar|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JToolBar}}
</span>
{{SeeAlso:JToolBar}}


===Examples===
===Examples===

Revision as of 14:32, 24 March 2017

{{subst:Description:JToolBar}}

Defined in

libraries/joomla/html/toolbar.php

Methods

Method name Description
__construct Constructor
appendButton Set a value
getItems Get the list of toolbar links.
getName Get the name of the toolbar.
prependButton Get a value.
render Render.
renderButton Render a parameter type.
loadButtonType Loads a button type.
addButtonPath Add a directory where JToolBar should search for button types.
getInstance Returns the global JToolBar object, only creating it if it doesn't already exist.

Importing

jimport( 'joomla.html.toolbar' );


{{subst:SeeAlso:JToolBar}}

Examples

<CodeExamplesForm />