JToolBarHelper::editList('example.edit');
JToolBarHelper::editList('example.edit', 'New', false, 'Toolbar-new');This code will create an "Edit List" button with a custom label ("New"), no help button, and a custom CSS class ("Toolbar-new"). This functionality is part of the Joomla Platform package library.