Actions

API17

Difference between revisions of "JToolBar"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JToolBar==
 +
===Description===
 +
{{Description:JToolBar}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JToolBar|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JToolBar|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JToolBar}}
 
===Defined in===
 
libraries/joomla/html/toolbar.php
 
* see source code in [[jplatform:html/toolbar.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Html/11.1|Html]]
 
===Extends===
 
[[JObject/11.1|JObject]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JToolBar::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JToolBar::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JToolBar::addButtonPath/11.1|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/11.1|appendButton]]
+
|public
 +
|[[API17:JToolBar::appendButton|appendButton]]
 
|Set a value.  
 
|Set a value.  
 
|-
 
|-
|[[JToolBar::getItems/11.1|getItems]]
+
|public
 +
|[[API17:JToolBar::getItems|getItems]]
 
|Get the list of toolbar links.  
 
|Get the list of toolbar links.  
 
|-
 
|-
|[[JToolBar::getName/11.1|getName]]
+
|public
 +
|[[API17:JToolBar::getName|getName]]
 
|Get the name of the toolbar.  
 
|Get the name of the toolbar.  
 
|-
 
|-
|[[JToolBar::loadButtonType/11.1|loadButtonType]]
+
|public
 +
|[[API17:JToolBar::loadButtonType|loadButtonType]]
 
|Loads a button type.  
 
|Loads a button type.  
 
|-
 
|-
|[[JToolBar::prependButton/11.1|prependButton]]
+
|public
 +
|[[API17:JToolBar::prependButton|prependButton]]
 
|Get a value.  
 
|Get a value.  
 
|-
 
|-
|[[JToolBar::render/11.1|render]]
+
|public
 +
|[[API17:JToolBar::render|render]]
 
|Render.  
 
|Render.  
 
|-
 
|-
|[[JToolBar::renderButton/11.1|renderButton]]
+
|public
 +
|[[API17:JToolBar::renderButton|renderButton]]
 
|Render a parameter type.  
 
|Render a parameter type.  
 
|-
 
|-
|[[JToolBar::getInstance/11.1|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===
* JToolBar source code in [[jplatform:html/toolbar.php|BitBucket]]
+
* {{JVer|11.1}} '''JToolBar source code''' on [[jplatform:html/toolbar.php|BitBucket]]
* [[JToolBar|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]]
 +
* [[API17:JToolBar|Other versions of JToolBar]]
 
{{SeeAlso:JToolBar}}
 
{{SeeAlso:JToolBar}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JToolBar|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JToolBar|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 66: Line 74:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JToolBar]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:44, 11 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JToolBar

Description

Description:JToolBar [Edit Descripton]

Methods

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

jimport( 'joomla.html.toolbar' );

See also

  • Joomla 11.1 JToolBar source code on BitBucket
  • Joomla 11.1 Subpackage Html
  • Other versions of JToolBar

SeeAlso:JToolBar [Edit See Also]

User contributed notes

<CodeExamplesForm />