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 preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JButton|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JButton}}
===Defined in===
===Defined in===
libraries/joomla/html/toolbar/button.php
libraries/joomla/html/toolbar/button.php
Line 34: Line 29:
<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>
 
</span>
{{SeeAlso:JButton}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JButton
  category=JButton
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:20, 25 March 2017

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' );



Examples

Code Examples