Actions

API17

Difference between revisions of "JButton"

From Joomla! Documentation

(Layout updates)
m (User contributed notes: bad link repair)
(One intermediate revision by one user 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
 
|-
 
|-
 +
|public
 
|[[JButton::__construct/11.1|__construct]]
 
|[[JButton::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JButton::fetchButton/11.1|fetchButton]]
 
|[[JButton::fetchButton/11.1|fetchButton]]
 
|Get the button.  
 
|Get the button.  
 
|-
 
|-
 +
|public
 
|[[JButton::fetchIconClass/11.1|fetchIconClass]]
 
|[[JButton::fetchIconClass/11.1|fetchIconClass]]
 
|Method to get the CSS class name for an icon identifier.  
 
|Method to get the CSS class name for an icon identifier.  
 
|-
 
|-
 +
|public
 
|[[JButton::fetchId/11.1|fetchId]]
 
|[[JButton::fetchId/11.1|fetchId]]
 
|Get the button id.  
 
|Get the button id.  
 
|-
 
|-
 +
|public
 
|[[JButton::getName/11.1|getName]]
 
|[[JButton::getName/11.1|getName]]
|get the element name  
+
|Get the element name.
 
|-
 
|-
 +
|public
 
|[[JButton::render/11.1|render]]
 
|[[JButton::render/11.1|render]]
 
|
 
|
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/html/toolbar/button.php
 +
* '''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]]
 
===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 [[Subpackage Html/11.1|Html]]
 +
* [[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 JClasses]][[Category:Platform 11.1]][[Category:JButton]]</noinclude>

Revision as of 13:29, 29 August 2012

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

SeeAlso:JButton [Edit See Also]

User contributed notes

<CodeExamplesForm />