JToolBar
ToolBar handler
Located in /joomla/html/toolbar.php (line 28)
JObject (Subpackage Base)
![]()
JToolBar (Subpackage HTML)
Constructor
- string $name: The toolbar name
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Add a directory where JToolBar should search for button types
You may either pass a string or an array of directories.
JParameter will be searching for an element type in the same order you added them. If the parameter type cannot be found in the custom folders, it will look in JParameter/types.
- string|array $path: directory or directories to search.
Set a value
- string 0: The name of the param
- string 1: The value of the parameter
Returns a reference to a global JToolBar object, only creating it if it doesn't already exist.
This method must be invoked as:
$toolbar = & JToolBar::getInstance( $name );
- string $name: The name of the toolbar.
Loads a button type
- string $type: buttonType
- $new
Get a value
- string 0: The name of the param
- mixed 1: The default value if not found
Render
- string 0: The name of the control, or the default text area if a setup file is not found
Render a parameter type
- string 1: The control name
- object A &$node: param tag node
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()




