Difference between revisions of "JButton"
From Joomla! Documentation
(Layout updates) |
m (→User contributed notes: bad link repair) |
||
(One intermediate revision by one other 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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===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. |
|- | |- | ||
+ | |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 | + | * {{JVer|11.1}} '''JButton source code''' on [[jplatform:html/toolbar/button.php|BitBucket]] |
− | * [[JButton|Other versions of | + | * {{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> | ||
− | === | + | ===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
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.
JButton[edit]
Description[edit]
Template:Description:JButton [Edit Descripton]
Methods[edit]
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 |
- Defined in libraries/joomla/html/toolbar/button.php
- Extends JObject
- Extended by
Importing[edit]
jimport( 'joomla.html.toolbar.button' );
See also[edit]
- JButton source code on BitBucket
- Subpackage Html
- Other versions of JButton
Template:SeeAlso:JButton [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />