Difference between revisions of "JToolBar"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (moving preparation) |
||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::__construct | + | |[[API17:JToolBar::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::addButtonPath | + | |[[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. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::appendButton | + | |[[API17:JToolBar::appendButton|appendButton]] |
|Set a value. | |Set a value. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::getItems | + | |[[API17:JToolBar::getItems|getItems]] |
|Get the list of toolbar links. | |Get the list of toolbar links. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::getName | + | |[[API17:JToolBar::getName|getName]] |
|Get the name of the toolbar. | |Get the name of the toolbar. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::loadButtonType | + | |[[API17:JToolBar::loadButtonType|loadButtonType]] |
|Loads a button type. | |Loads a button type. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::prependButton | + | |[[API17:JToolBar::prependButton|prependButton]] |
|Get a value. | |Get a value. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::render | + | |[[API17:JToolBar::render|render]] |
|Render. | |Render. | ||
|- | |- | ||
|public | |public | ||
− | |[[JToolBar::renderButton | + | |[[API17:JToolBar::renderButton|renderButton]] |
|Render a parameter type. | |Render a parameter type. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JToolBar::getInstance | + | |[[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 | * '''Defined in''' libraries/joomla/html/toolbar.php | ||
− | * '''Extends''' [[JObject | + | * '''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}} '''JToolBar source code''' on [[jplatform:html/toolbar.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Html | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]] |
− | * [[JToolBar|Other versions of JToolBar]] | + | * [[API17:JToolBar|Other versions of JToolBar]] |
{{SeeAlso:JToolBar}} | {{SeeAlso:JToolBar}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:44, 11 May 2013
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]
Template:Description:JToolBar [Edit Descripton]
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
Template:SeeAlso:JToolBar [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />