JButtonCustom/fetchButton: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 40: | Line 40: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=fetchButton | category=fetchButton | ||
category=JButtonCustom | category=JButtonCustom | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:21, 25 March 2017
<! removed transcluded page call, red link never existed >
Syntax
fetchButton($type='Custom', $html= '', $id= 'custom')
| Parameter Name | Default Value | Description |
|---|---|---|
| $type | 'Custom' | |
| $html | ||
| $id | 'custom' |
Defined in
libraries/joomla/html/toolbar/button/custom.php
Importing
jimport( 'joomla.html.toolbar.button.custom' );
Source Body
public function fetchButton($type='Custom', $html = '', $id = 'custom')
{
return $html;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples