Actions

API16

JToolBar/appendButton

From Joomla! Documentation

< API16:JToolBar
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Set a value

[Edit Descripton]

Description:JToolBar/appendButton

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

[Edit See Also] SeeAlso:JToolBar/appendButton

Examples

<CodeExamplesForm />