\JToolbar
ToolBar handler
Synopsis
class JToolbar
{
- // members
- protected $_name;
- protected $_bar;
- protected $_buttons;
- protected $_buttonPath;
- protected JToolbar $instances;
- // methods
- public void __construct()
- public static JToolbar getInstance()
- public string appendButton()
- public array getItems()
- public string getName()
- public string prependButton()
- public string render()
- public string renderButton()
- public boolean loadButtonType()
- public void addButtonPath()
Tasks
Tasks
Line | Task |
---|---|
266 | remove code: return JError::raiseError('SOME_ERROR_CODE', "Module file $buttonFile does not contain class $buttonClass."); |
Members
protected
- $_bar
—
array
Toolbar array - $_name
—
string
Toolbar name - $instances
—
JToolbar
Stores the singleton instances of various toolbar.
Methods
public
- __construct() — Constructor
- addButtonPath() — Add a directory where JToolbar should search for button types in LIFO order.
- appendButton() — Set a value
- getInstance() — Returns the global JToolbar object, only creating it if it doesn't already exist.
- getItems() — Get the list of toolbar links.
- getName() — Get the name of the toolbar.
- loadButtonType() — Loads a button type.
- prependButton() — Get a value.
- render() — Render a tool bar.
- renderButton() — Render a button.