API16

API16:JToolBar/prependButton

From Joomla! Documentation

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