API16

JButton: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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:
<span class="editsection" style="font-size:76%;">
{{subst:Description:JButton}}
<nowiki>[</nowiki>[[Description:JButton|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{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>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JButton|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JButton}}
</span>
{{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 />