JToolBar: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/html/toolbar.php | libraries/joomla/html/toolbar.php | ||
| Line 44: | Line 42: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JToolBar | category=JToolBar | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:13, 25 March 2017
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' );
Examples
Code Examples