JToolbar::addButtonPath

Add a directory where JToolbar should search for button types in LIFO order.

You may either pass a string or an array of directories. JToolbar 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 libraries/joomla/html/toolbar/button.