API17

Difference between revisions of "JToolBar"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎User contributed notes: bad link repair)
(2 intermediate revisions by one other user 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
 
===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
 
|-
 
|-
 +
|public
 
|[[JToolBar::__construct/11.1|__construct]]
 
|[[JToolBar::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::addButtonPath/11.1|addButtonPath]]
 
|[[JToolBar::addButtonPath/11.1|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
 
|[[JToolBar::appendButton/11.1|appendButton]]
 
|[[JToolBar::appendButton/11.1|appendButton]]
 
|Set a value.  
 
|Set a value.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::getItems/11.1|getItems]]
 
|[[JToolBar::getItems/11.1|getItems]]
 
|Get the list of toolbar links.  
 
|Get the list of toolbar links.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::getName/11.1|getName]]
 
|[[JToolBar::getName/11.1|getName]]
 
|Get the name of the toolbar.  
 
|Get the name of the toolbar.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::loadButtonType/11.1|loadButtonType]]
 
|[[JToolBar::loadButtonType/11.1|loadButtonType]]
 
|Loads a button type.  
 
|Loads a button type.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::prependButton/11.1|prependButton]]
 
|[[JToolBar::prependButton/11.1|prependButton]]
 
|Get a value.  
 
|Get a value.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::render/11.1|render]]
 
|[[JToolBar::render/11.1|render]]
 
|Render.  
 
|Render.  
 
|-
 
|-
 +
|public
 
|[[JToolBar::renderButton/11.1|renderButton]]
 
|[[JToolBar::renderButton/11.1|renderButton]]
 
|Render a parameter type.  
 
|Render a parameter type.  
 
|-
 
|-
 +
|public static
 
|[[JToolBar::getInstance/11.1|getInstance]]
 
|[[JToolBar::getInstance/11.1|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''' [[JObject/11.1|JObject]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.toolbar' );</source>
 
<source lang="php">jimport( 'joomla.html.toolbar' );</source>
 
===See also===
 
===See also===
* [[JToolBar|Other versions of this class]]
+
* {{JVer|11.1}} '''JToolBar source code''' on [[jplatform:html/toolbar.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Html/11.1|Html]]
 +
* [[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 64: 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 JClasses]][[Category:Platform 11.1]][[Category:JToolBar]]</noinclude>

Revision as of 14:05, 29 August 2012

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.

Joomla 11.1 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]

Template:SeeAlso:JToolBar [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />