JButton/1.5
From Joomla! Documentation
< JButton(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} 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/1.5|__construct]] | |[[JButton::__construct/1.5|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JButton::fetchButton/1.5|fetchButton]] | |[[JButton::fetchButton/1.5|fetchButton]] | ||
|Get the button. | |Get the button. | ||
|- | |- | ||
| + | |public | ||
|[[JButton::fetchIconClass/1.5|fetchIconClass]] | |[[JButton::fetchIconClass/1.5|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/1.5|fetchId]] | |[[JButton::fetchId/1.5|fetchId]] | ||
|Get the button id. | |Get the button id. | ||
|- | |- | ||
| + | |public | ||
|[[JButton::getName/1.5|getName]] | |[[JButton::getName/1.5|getName]] | ||
|get the element name | |get the element name | ||
|- | |- | ||
| + | |public | ||
|[[JButton::render/1.5|render]] | |[[JButton::render/1.5|render]] | ||
| | | | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/html/toolbar/button.php | ||
| + | * '''Extends''' [[JObject/1.5|JObject]] | ||
| + | * '''Extended by''' | ||
| + | ** [[JButtonConfirm/1.5|JButtonConfirm]] | ||
| + | ** [[JButtonCustom/1.5|JButtonCustom]] | ||
| + | ** [[JButtonHelp/1.5|JButtonHelp]] | ||
| + | ** [[JButtonLink/1.5|JButtonLink]] | ||
| + | ** [[JButtonPopup/1.5|JButtonPopup]] | ||
| + | ** [[JButtonSeparator/1.5|JButtonSeparator]] | ||
| + | ** [[JButtonStandard/1.5|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=== | ||
| + | * {{JVer|1.5}} '''JButton''' on [http://api.joomla.org/Joomla-Framework/Html/JButton.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JButton source code''' on [[jframework15:html/toolbar/button.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Html/1.5|Html]] | ||
| + | * [[JButton|Other versions of 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 60: | Line 67: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JButton]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JButton]]</noinclude> | ||
Revision as of 18:05, 25 April 2011
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 |
- Defined in libraries/joomla/html/toolbar/button.php
- Extends JObject
- Extended by
Importing
jimport( 'joomla.html.toolbar.button' );
See also
-
JButton on api.joomla.org
-
JButton source code on JoomlaCode
-
Subpackage Html
- Other versions of JButton
SeeAlso:JButton [Edit See Also]
User contributed notes
<CodeExamplesForm />