JButton: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JButton}}
===Defined in===
libra... |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JButton}} | |||
{{Description:JButton}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 34: | Line 31: | ||
<source lang="php">jimport( 'joomla.html.toolbar.button' );</source> | <source lang="php">jimport( 'joomla.html.toolbar.button' );</source> | ||
{{subst:SeeAlso:JButton}} | |||
{{SeeAlso:JButton}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:40, 24 March 2017
{{subst:Description:JButton}}
Defined in
libraries/joomla/html/toolbar/button.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| getName | get the element name |
| render | |
| fetchIconClass | Method to get the CSS class name for an icon identifier |
| fetchId | Get the button id |
| fetchButton | Get the button |
Importing
jimport( 'joomla.html.toolbar.button' );
{{subst:SeeAlso:JButton}}
Examples
<CodeExamplesForm />