API16

API16:JToolBar/prependButton

From Joomla! Documentation

Revision as of 14:32, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

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 />