public static function deleteList($msg = '', $task = 'remove', $alt = 'JTOOLBAR_DELETE')
	{
		$bar = static::getRoot();
		// Add a delete button.
		if ($msg)
		{
			$bar->appendButton('Confirm', $msg, 'delete', $alt, $task, true);
		}
		else
		{
			$bar->appendButton('Standard', 'delete', $alt, $task, true);
		}
	}
public static function deleteList($msg = '', $task = 'remove', $alt = 'JTOOLBAR_DELETE')
	{
		$bar = static::getRoot();
		// Add a delete button.
		if ($msg)
		{
			$bar->appendButton('Confirm', $msg, 'delete', $alt, $task, true);
		}
		else
		{
			$bar->appendButton('Standard', 'delete', $alt, $task, true);
		}
	}
public static function deleteList ( $ msg = '' , $ task = 'remove' , $ alt = 'JTOOLBAR_DELETE' ) { $ bar = static :: getRoot ( ) ; // Add a delete button. if ( $ msg ) { $ bar -> appendButton ( 'Confirm' , $ msg , 'delete' , $ alt , $ task , true ) ; } else { $ bar -> appendButton ( 'Standard' , 'delete' , $ alt , $ task , true ) ; } }
Writes a common 'delete' button for a list of records.

@param   string  $msg   Postscript for the 'are you sure' message.
@param   string  $task  An override for the task.
@param   string  $alt   An override for the alt text.
@return  void
Writes a common delete button for a list of records .