Difference between revisions of "JToolBar"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | =={{JVer|11.1}} JToolBar== | |
− | + | ===Description=== | |
− | + | ||
− | {{ | + | |
− | |||
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
+ | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
− | |[[JToolBar::__construct | + | |public |
+ | |[[API17:JToolBar::__construct|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
− | |[[JToolBar::addButtonPath | + | |public |
+ | |[[API17:JToolBar::addButtonPath|addButtonPath]] | ||
|Add a directory where should search for button types in LIFO order. | |Add a directory where should search for button types in LIFO order. | ||
|- | |- | ||
− | |[[JToolBar::appendButton | + | |public |
+ | |[[API17:JToolBar::appendButton|appendButton]] | ||
|Set a value. | |Set a value. | ||
|- | |- | ||
− | |[[JToolBar::getItems | + | |public |
+ | |[[API17:JToolBar::getItems|getItems]] | ||
|Get the list of toolbar links. | |Get the list of toolbar links. | ||
|- | |- | ||
− | |[[JToolBar::getName | + | |public |
+ | |[[API17:JToolBar::getName|getName]] | ||
|Get the name of the toolbar. | |Get the name of the toolbar. | ||
|- | |- | ||
− | |[[JToolBar::loadButtonType | + | |public |
+ | |[[API17:JToolBar::loadButtonType|loadButtonType]] | ||
|Loads a button type. | |Loads a button type. | ||
|- | |- | ||
− | |[[JToolBar::prependButton | + | |public |
+ | |[[API17:JToolBar::prependButton|prependButton]] | ||
|Get a value. | |Get a value. | ||
|- | |- | ||
− | |[[JToolBar::render | + | |public |
+ | |[[API17:JToolBar::render|render]] | ||
|Render. | |Render. | ||
|- | |- | ||
− | |[[JToolBar::renderButton | + | |public |
+ | |[[API17:JToolBar::renderButton|renderButton]] | ||
|Render a parameter type. | |Render a parameter type. | ||
|- | |- | ||
− | |[[JToolBar::getInstance | + | |public static |
+ | |[[API17:JToolBar::getInstance|getInstance]] | ||
|Returns the global object, only creating it if it doesn't already exist. | |Returns the global object, only creating it if it doesn't already exist. | ||
|- | |- | ||
|} | |} | ||
+ | * '''Defined in''' libraries/joomla/html/toolbar.php | ||
+ | * '''Extends''' [[API17:JObject|JObject]] | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.html.toolbar' );</source> | <source lang="php">jimport( 'joomla.html.toolbar' );</source> | ||
===See also=== | ===See also=== | ||
− | * [[ | + | * {{JVer|11.1}} '''JToolBar source code''' on [[jplatform:html/toolbar.php|BitBucket]] |
− | {{ | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]] |
− | + | * [[API17:JToolBar|Other versions of JToolBar]] | |
− | + | ||
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JToolBar | category=JToolBar | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:52, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JToolBar[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | addButtonPath | Add a directory where should search for button types in LIFO order. |
public | appendButton | Set a value. |
public | getItems | Get the list of toolbar links. |
public | getName | Get the name of the toolbar. |
public | loadButtonType | Loads a button type. |
public | prependButton | Get a value. |
public | render | Render. |
public | renderButton | Render a parameter type. |
public static | getInstance | Returns the global object, only creating it if it doesn't already exist. |
- Defined in libraries/joomla/html/toolbar.php
- Extends JObject
Importing[edit]
jimport( 'joomla.html.toolbar' );
See also[edit]
- JToolBar source code on BitBucket
- Subpackage Html
- Other versions of JToolBar
User contributed notes[edit]
Code Examples[edit]