Actions

API16

JToolBar/prependButton

< API16:JToolBar

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

Get a value.



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;
}



Examples

Code Examples


Advertisement