public static function confirm($msg = '', $name='delete', $task = 'remove', $alt = 'JTOOLBAR_DELETE', $list = true)
	{
		static::getRoot()->appendButton('Confirm', $msg, $name, $alt, $task, $list);
	}
public static function confirm($msg = '', $name='delete', $task = 'remove', $alt = 'JTOOLBAR_DELETE', $list = true)
	{
		static::getRoot()->appendButton('Confirm', $msg, $name, $alt, $task, $list);
	}
public static function confirm ( $ msg = '' , $ name = 'delete' , $ task = 'remove' , $ alt = 'JTOOLBAR_DELETE' , $ list = true ) { static :: getRoot ( ) -> appendButton ( 'Confirm' , $ msg , $ name , $ alt , $ task , $ list ) ; }
Writes a button that prompts for confirmation before executing a task

@param   string   $msg   Postscript for the 'are you sure' message.
@param   string   $name  Name to be used as apart of the id
@param   string   $task  An override for the task.
@param   string   $alt   An override for the alt text.
@param   boolean  $list  True to allow use of lists
@return  void
Writes a button that prompts for confirmation before executing a task