API16

JToolBar/appendButton

< 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

Set a value



Syntax

appendButton()


Returns

string The set value.

Defined in

libraries/joomla/html/toolbar.php

Importing

jimport( 'joomla.html.toolbar' );

Source Body

public function appendButton()
{
        // Push button onto the end of the toolbar array.
        $btn = func_get_args();
        array_push($this->_bar, $btn);
        return true;
}



Examples

Code Examples


Advertisement