JToolbarHelper is a toolbar helper class in Joomla that provides various helper methods to generate toolbars and their buttons. One of the buttons that it provides is the "trash" button, which is commonly used in content management systems to allow users to delete selected items.
Here is an example of how to use the trash button in a Joomla component:
JToolBarHelper::trash('delete', 'Delete');
This code will generate a trash button with the label "Delete". When clicked, the button will trigger the delete action in the component.
The package library for JToolbarHelper is the Joomla framework.
PHP JToolBarHelper::trash - 30 examples found. These are the top rated real world PHP examples of JToolBarHelper::trash extracted from open source projects. You can rate examples to help us improve the quality of examples.