Actions

API17

Difference between revisions of "JButton"

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}} JButton==
 +
===Description===
 +
{{Description:JButton}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JButton|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JButton|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JButton}}
 
===Defined in===
 
libraries/joomla/html/toolbar/button.php
 
* see source code in [[jplatform:html/toolbar/button.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Html/11.1|Html]]
 
===Extends===
 
[[JObject/11.1|JObject]]
 
===Extended by===
 
* [[JButtonConfirm/11.1|JButtonConfirm]]
 
* [[JButtonCustom/11.1|JButtonCustom]]
 
* [[JButtonHelp/11.1|JButtonHelp]]
 
* [[JButtonLink/11.1|JButtonLink]]
 
* [[JButtonPopup/11.1|JButtonPopup]]
 
* [[JButtonSeparator/11.1|JButtonSeparator]]
 
* [[JButtonStandard/11.1|JButtonStandard]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JButton::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JButton::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JButton::fetchButton/11.1|fetchButton]]
+
|public
 +
|[[API17:JButton::fetchButton|fetchButton]]
 
|Get the button.  
 
|Get the button.  
 
|-
 
|-
|[[JButton::fetchIconClass/11.1|fetchIconClass]]
+
|public
 +
|[[API17:JButton::fetchIconClass|fetchIconClass]]
 
|Method to get the CSS class name for an icon identifier.  
 
|Method to get the CSS class name for an icon identifier.  
 
|-
 
|-
|[[JButton::fetchId/11.1|fetchId]]
+
|public
 +
|[[API17:JButton::fetchId|fetchId]]
 
|Get the button id.  
 
|Get the button id.  
 
|-
 
|-
|[[JButton::getName/11.1|getName]]
+
|public
|get the element name  
+
|[[API17:JButton::getName|getName]]
 +
|Get the element name.
 
|-
 
|-
|[[JButton::render/11.1|render]]
+
|public
 +
|[[API17:JButton::render|render]]
 
|
 
|
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/toolbar/button.php
 +
* '''Extends''' [[API17:JObject|JObject]]
 +
* '''Extended by'''
 +
** [[API17:JButtonConfirm|JButtonConfirm]]
 +
** [[API17:JButtonCustom|JButtonCustom]]
 +
** [[API17:JButtonHelp|JButtonHelp]]
 +
** [[API17:JButtonLink|JButtonLink]]
 +
** [[API17:JButtonPopup|JButtonPopup]]
 +
** [[API17:JButtonSeparator|JButtonSeparator]]
 +
** [[API17:JButtonStandard|JButtonStandard]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.html.toolbar.button' );</source>
 
<source lang="php">jimport( 'joomla.html.toolbar.button' );</source>
 
===See also===
 
===See also===
* JButton source code in [[jplatform:html/toolbar/button.php|BitBucket]]
+
* {{JVer|11.1}} '''JButton source code''' on [[jplatform:html/toolbar/button.php|BitBucket]]
* [[JButton|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Html|Html]]
 +
* [[API17:JButton|Other versions of JButton]]
 
{{SeeAlso:JButton}}
 
{{SeeAlso:JButton}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JButton|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JButton|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 61: Line 66:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JButton]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:47, 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 JButton

Description

Description:JButton [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public fetchButton Get the button.
public fetchIconClass Method to get the CSS class name for an icon identifier.
public fetchId Get the button id.
public getName Get the element name.
public render

Importing

jimport( 'joomla.html.toolbar.button' );

See also

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

SeeAlso:JButton [Edit See Also]

User contributed notes

<CodeExamplesForm />