Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.992 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 380 | administrator/includes/toolbar.php |
2 | 8 | 399 | administrator/includes/toolbar.php |
| ||||
/** * Writes a common 'delete' button for a list of records * @param string Postscript for the 'are you sure' message * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function deleteList($msg= '', $task= 'remove', $alt= 'Delete') { $bar= & JToolBar::getInstance('toolbar'); // Add a delete button if ($msg) { $bar->appendButton('Confirm', $msg, 'delete', $alt, $task, TRUE, FALSE); } else { $bar->appendButton('Standard', 'delete', $alt, $task, TRUE, FALSE); } } |
| ||||
/** * Writes a common 'delete' button for a list of records. * Extended version of deleteList() calling hideMainMenu() before submitbutton(). * @param string Postscript for the 'are you sure' message * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function deleteListX($msg= '', $task= 'remove', $alt= 'Delete') { $bar= & JToolBar::getInstance('toolbar'); // Add a delete button (hide) if ($msg) { $bar->appendButton('Confirm', $msg, 'delete', $alt, $task, TRUE, TRUE); } else { $bar->appendButton('Standard', 'delete', $alt, $task, TRUE, TRUE); } } |
| |||
/** * Writes a common 'delete' button for a list of records. * Extended version of deleteList() calling hideMainMenu() before submitbutton(). * @param string Postscript for the 'are you sure' message * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'delete' button for a list of records * @param string Postscript for the 'are you sure' message * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function [[#variable4dae39a0]]($msg='',$task='remove',$alt='Delete') { $bar= &JToolBar::getInstance('toolbar'); // Add a delete button (hide) // Add a delete button if ($msg) { $bar->appendButton('Confirm',$msg,'delete',$alt,$task,TRUE, [[#variable4dae39c0]]); } else { $bar->appendButton('Standard','delete',$alt,$task,TRUE, [[#variable4dae39c0]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4dae39a0]] | deleteListX |
1 | 2 | [[#4dae39a0]] | deleteList |
2 | 1 | [[#4dae39c0]] | TRUE |
2 | 2 | [[#4dae39c0]] | FALSE |