JButtonCustom/fetchButton: Difference between revisions
From Joomla! Documentation
New page:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JButtonCustom/... |
m preparing for archive only |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===Syntax=== | ===Syntax=== | ||
| Line 41: | Line 36: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | |||
< | |||
===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=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API16]] | |||
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