JToolBar/appendButton: Difference between revisions
From Joomla! Documentation
New page: ===Description===
Set a value
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{... |
m clean up |
||
| Line 2: | Line 2: | ||
Set a value | Set a value | ||
{{Description:JToolBar/appendButton}} | |||
{{subst:Description:JToolBar/appendButton}} | |||
===Syntax=== | ===Syntax=== | ||
| Line 31: | Line 29: | ||
</source> | </source> | ||
{{subst:SeeAlso:JToolBar/appendButton}} | |||
{{SeeAlso:JToolBar/appendButton}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:32, 24 March 2017
Description
Set a value
{{subst:Description:JToolBar/appendButton}}
Syntax
appendButton()
Returns
string The set value.
Defined in
libraries/joomla/html/toolbar.php
Importing
jimport( 'joomla.html.toolbar' );
Source Body
public function appendButton()
{
// Push button onto the end of the toolbar array.
$btn = func_get_args();
array_push($this->_bar, $btn);
return true;
}
{{subst:SeeAlso:JToolBar/appendButton}}
Examples
<CodeExamplesForm />