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