API16

JToolBar/prependButton

From Joomla! Documentation

< API16:JToolBar
Revision as of 21:13, 24 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Get a value.



Syntax[edit]

prependButton()


Returns[edit]

string

Defined in[edit]

libraries/joomla/html/toolbar.php

Importing[edit]

jimport( 'joomla.html.toolbar' );

Source Body[edit]

public function prependButton()
{
        // Insert button into the front of the toolbar array.
        $btn = func_get_args();
        array_unshift($this->_bar, $btn);
        return true;
}



Examples[edit]

Code Examples[edit]