API16

API16:JToolBar/appendButton

From Joomla! Documentation

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