API16

JToolBar/prependButton: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
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.


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JToolBar/prependButton|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JToolBar/prependButton}}
 
{{subst:Description:JToolBar/prependButton}}


===Syntax===
===Syntax===
Line 31: Line 29:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JToolBar/prependButton|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JToolBar/prependButton}}
</span>
{{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 />