Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 19 | 6 | 0.970 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 165 | administrator/includes/toolbar.php |
2 | 5 | 179 | administrator/includes/toolbar.php |
3 | 6 | 192 | administrator/includes/toolbar.php |
4 | 5 | 206 | administrator/includes/toolbar.php |
5 | 5 | 219 | administrator/includes/toolbar.php |
6 | 5 | 232 | administrator/includes/toolbar.php |
7 | 5 | 245 | administrator/includes/toolbar.php |
8 | 6 | 258 | administrator/includes/toolbar.php |
9 | 5 | 272 | administrator/includes/toolbar.php |
10 | 5 | 285 | administrator/includes/toolbar.php |
11 | 5 | 298 | administrator/includes/toolbar.php |
12 | 5 | 312 | administrator/includes/toolbar.php |
13 | 5 | 325 | administrator/includes/toolbar.php |
14 | 5 | 339 | administrator/includes/toolbar.php |
15 | 5 | 352 | administrator/includes/toolbar.php |
16 | 5 | 366 | administrator/includes/toolbar.php |
17 | 5 | 428 | administrator/includes/toolbar.php |
18 | 5 | 442 | administrator/includes/toolbar.php |
19 | 5 | 455 | administrator/includes/toolbar.php |
| ||||
/** * Writes the common 'new' icon for the button bar * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function addNew($task= 'add', $alt= 'New') { $bar= & JToolBar::getInstance('toolbar'); // Add a new button $bar->appendButton('Standard', 'new', $alt, $task, FALSE, FALSE); } |
| ||||
/** * Writes the common 'new' icon for the button bar. * Extended version of addNew() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function addNewX($task= 'add', $alt= 'New') { $bar= & JToolBar::getInstance('toolbar'); // Add a new button (hide menu) $bar->appendButton('Standard', 'new', $alt, $task, FALSE, TRUE); } |
| ||||
/** * Writes a common 'publish' button * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function publish($task= 'publish', $alt= 'Publish') { $bar= & JToolBar::getInstance('toolbar'); // Add a publish button //$bar->appendButton('Publish', false, $alt, $task); $bar->appendButton('Standard', 'publish', $alt, $task, FALSE, FALSE); } |
| ||||
/** * Writes a common 'publish' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function publishList($task= 'publish', $alt= 'Publish') { $bar= & JToolBar::getInstance('toolbar'); // Add a publish button (list) $bar->appendButton('Standard', 'publish', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'default' button for a record * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function makeDefault($task= 'default', $alt= 'Default') { $bar= & JToolBar::getInstance('toolbar'); // Add a default button $bar->appendButton('Standard', 'default', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'assign' button for a record * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function assign($task= 'assign', $alt= 'Assign') { $bar= & JToolBar::getInstance('toolbar'); // Add an assign button $bar->appendButton('Standard', 'assign', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'unpublish' button * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function unpublish($task= 'unpublish', $alt= 'Unpublish') { $bar= & JToolBar::getInstance('toolbar'); // Add an unpublish button $bar->appendButton('Standard', 'unpublish', $alt, $task, FALSE, FALSE); } |
| ||||
/** * Writes a common 'unpublish' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function unpublishList($task= 'unpublish', $alt= 'Unpublish') { $bar= & JToolBar::getInstance('toolbar'); // Add an unpublish button (list) $bar->appendButton('Standard', 'unpublish', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'archive' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function archiveList($task= 'archive', $alt= 'Archive') { $bar= & JToolBar::getInstance('toolbar'); // Add an archive button $bar->appendButton('Standard', 'archive', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes an unarchive button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function unarchiveList($task= 'unarchive', $alt= 'Unarchive') { $bar= & JToolBar::getInstance('toolbar'); // Add an unarchive button (list) $bar->appendButton('Standard', 'unarchive', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'edit' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editList($task= 'edit', $alt= 'Edit') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit button $bar->appendButton('Standard', 'edit', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'edit' button for a list of records. * Extended version of editList() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editListX($task= 'edit', $alt= 'Edit') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit button (hide) $bar->appendButton('Standard', 'edit', $alt, $task, TRUE, TRUE); } |
| ||||
/** * Writes a common 'edit' button for a template html * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editHtml($task= 'edit_source', $alt= 'Edit HTML') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit html button $bar->appendButton('Standard', 'edithtml', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'edit' button for a template html. * Extended version of editHtml() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editHtmlX($task= 'edit_source', $alt= 'Edit HTML') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit html button (hide) $bar->appendButton('Standard', 'edithtml', $alt, $task, TRUE, TRUE); } |
| ||||
/** * Writes a common 'edit' button for a template css * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editCss($task= 'edit_css', $alt= 'Edit CSS') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit css button (hide) $bar->appendButton('Standard', 'editcss', $alt, $task, TRUE, FALSE); } |
| ||||
/** * Writes a common 'edit' button for a template css. * Extended version of editCss() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function editCssX($task= 'edit_css', $alt= 'Edit CSS') { $bar= & JToolBar::getInstance('toolbar'); // Add an edit css button (hide) $bar->appendButton('Standard', 'editcss', $alt, $task, TRUE, TRUE); } |
| ||||
/** * Writes a save button for a given option * Apply operation leads to a save action only (does not leave edit mode) * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function apply($task= 'apply', $alt= 'Apply') { $bar= & JToolBar::getInstance('toolbar'); // Add an apply button $bar->appendButton('Standard', 'apply', $alt, $task, FALSE, FALSE); } |
| ||||
/** * Writes a save button for a given option * Save operation leads to a save and then close action * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function save($task= 'save', $alt= 'Save') { $bar= & JToolBar::getInstance('toolbar'); // Add a save button $bar->appendButton('Standard', 'save', $alt, $task, FALSE, FALSE); } |
| ||||
/** * Writes a cancel button and invokes a cancel operation (eg a checkin) * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function cancel($task= 'cancel', $alt= 'Cancel') { $bar= & JToolBar::getInstance('toolbar'); // Add a cancel button $bar->appendButton('Standard', 'cancel', $alt, $task, FALSE, FALSE); } |
| |||
/** * Writes a cancel button and invokes a cancel operation (eg a checkin) * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a save button for a given option * Save operation leads to a save and then close action * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a save button for a given option * Apply operation leads to a save action only (does not leave edit mode) * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a template css. * Extended version of editCss() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a template css * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a template html. * Extended version of editHtml() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a template html * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a list of records. * Extended version of editList() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'edit' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes an unarchive button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'archive' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'unpublish' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'unpublish' button * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'assign' button for a record * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'default' button for a record * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'publish' button for a list of records * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes a common 'publish' button * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes the common 'new' icon for the button bar. * Extended version of addNew() calling hideMainMenu() before submitbutton(). * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ /** * Writes the common 'new' icon for the button bar * @param string An override for the task * @param string An override for the alt text * @since 1.0 */ function [[#variable526c0400]]($task= [[#variable526c0340]],$alt= [[#variable526c0240]]) { $bar= &JToolBar::getInstance('toolbar'); // Add a cancel button // Add a save button // Add an apply button // Add an edit css button (hide) // Add an edit html button (hide) // Add an edit html button // Add an edit button (hide) // Add an edit button // Add an unarchive button (list) // Add an archive button // Add an unpublish button (list) // Add an unpublish button // Add an assign button // Add a default button // Add a publish button (list) // Add a publish button //$bar->appendButton('Publish', false, $alt, $task); // Add a new button (hide menu) // Add a new button $bar->appendButton('Standard', [[#variable526c01c0]],$alt,$task, [[#variable526c00a0]], [[#variable526c00c0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#526c0400]] | cancel |
1 | 2 | [[#526c0400]] | save |
1 | 3 | [[#526c0400]] | apply |
1 | 4 | [[#526c0400]] | editCssX |
1 | 5 | [[#526c0400]] | editCss |
1 | 6 | [[#526c0400]] | editHtmlX |
1 | 7 | [[#526c0400]] | editHtml |
1 | 8 | [[#526c0400]] | editListX |
1 | 9 | [[#526c0400]] | editList |
1 | 10 | [[#526c0400]] | unarchiveList |
1 | 11 | [[#526c0400]] | archiveList |
1 | 12 | [[#526c0400]] | unpublishList |
1 | 13 | [[#526c0400]] | unpublish |
1 | 14 | [[#526c0400]] | assign |
1 | 15 | [[#526c0400]] | makeDefault |
1 | 16 | [[#526c0400]] | publishList |
1 | 17 | [[#526c0400]] | publish |
1 | 18 | [[#526c0400]] | addNewX |
1 | 19 | [[#526c0400]] | addNew |
2 | 1 | [[#526c0340]] | 'cancel' |
2 | 2 | [[#526c0340]] | 'save' |
2 | 3 | [[#526c0340]] | 'apply' |
2 | 4 | [[#526c0340]] | 'edit_css' |
2 | 5 | [[#526c0340]] | 'edit_css' |
2 | 6 | [[#526c0340]] | 'edit_source' |
2 | 7 | [[#526c0340]] | 'edit_source' |
2 | 8 | [[#526c0340]] | 'edit' |
2 | 9 | [[#526c0340]] | 'edit' |
2 | 10 | [[#526c0340]] | 'unarchive' |
2 | 11 | [[#526c0340]] | 'archive' |
2 | 12 | [[#526c0340]] | 'unpublish' |
2 | 13 | [[#526c0340]] | 'unpublish' |
2 | 14 | [[#526c0340]] | 'assign' |
2 | 15 | [[#526c0340]] | 'default' |
2 | 16 | [[#526c0340]] | 'publish' |
2 | 17 | [[#526c0340]] | 'publish' |
2 | 18 | [[#526c0340]] | 'add' |
2 | 19 | [[#526c0340]] | 'add' |
3 | 1 | [[#526c0240]] | 'Cancel' |
3 | 2 | [[#526c0240]] | 'Save' |
3 | 3 | [[#526c0240]] | 'Apply' |
3 | 4 | [[#526c0240]] | 'Edit CSS' |
3 | 5 | [[#526c0240]] | 'Edit CSS' |
3 | 6 | [[#526c0240]] | 'Edit HTML' |
3 | 7 | [[#526c0240]] | 'Edit HTML' |
3 | 8 | [[#526c0240]] | 'Edit' |
3 | 9 | [[#526c0240]] | 'Edit' |
3 | 10 | [[#526c0240]] | 'Unarchive' |
3 | 11 | [[#526c0240]] | 'Archive' |
3 | 12 | [[#526c0240]] | 'Unpublish' |
3 | 13 | [[#526c0240]] | 'Unpublish' |
3 | 14 | [[#526c0240]] | 'Assign' |
3 | 15 | [[#526c0240]] | 'Default' |
3 | 16 | [[#526c0240]] | 'Publish' |
3 | 17 | [[#526c0240]] | 'Publish' |
3 | 18 | [[#526c0240]] | 'New' |
3 | 19 | [[#526c0240]] | 'New' |
4 | 1 | [[#526c01c0]] | 'cancel' |
4 | 2 | [[#526c01c0]] | 'save' |
4 | 3 | [[#526c01c0]] | 'apply' |
4 | 4 | [[#526c01c0]] | 'editcss' |
4 | 5 | [[#526c01c0]] | 'editcss' |
4 | 6 | [[#526c01c0]] | 'edithtml' |
4 | 7 | [[#526c01c0]] | 'edithtml' |
4 | 8 | [[#526c01c0]] | 'edit' |
4 | 9 | [[#526c01c0]] | 'edit' |
4 | 10 | [[#526c01c0]] | 'unarchive' |
4 | 11 | [[#526c01c0]] | 'archive' |
4 | 12 | [[#526c01c0]] | 'unpublish' |
4 | 13 | [[#526c01c0]] | 'unpublish' |
4 | 14 | [[#526c01c0]] | 'assign' |
4 | 15 | [[#526c01c0]] | 'default' |
4 | 16 | [[#526c01c0]] | 'publish' |
4 | 17 | [[#526c01c0]] | 'publish' |
4 | 18 | [[#526c01c0]] | 'new' |
4 | 19 | [[#526c01c0]] | 'new' |
5 | 1 | [[#526c00a0]] | FALSE |
5 | 2 | [[#526c00a0]] | FALSE |
5 | 3 | [[#526c00a0]] | FALSE |
5 | 4 | [[#526c00a0]] | TRUE |
5 | 5 | [[#526c00a0]] | TRUE |
5 | 6 | [[#526c00a0]] | TRUE |
5 | 7 | [[#526c00a0]] | TRUE |
5 | 8 | [[#526c00a0]] | TRUE |
5 | 9 | [[#526c00a0]] | TRUE |
5 | 10 | [[#526c00a0]] | TRUE |
5 | 11 | [[#526c00a0]] | TRUE |
5 | 12 | [[#526c00a0]] | TRUE |
5 | 13 | [[#526c00a0]] | FALSE |
5 | 14 | [[#526c00a0]] | TRUE |
5 | 15 | [[#526c00a0]] | TRUE |
5 | 16 | [[#526c00a0]] | TRUE |
5 | 17 | [[#526c00a0]] | FALSE |
5 | 18 | [[#526c00a0]] | FALSE |
5 | 19 | [[#526c00a0]] | FALSE |
6 | 1 | [[#526c00c0]] | FALSE |
6 | 2 | [[#526c00c0]] | FALSE |
6 | 3 | [[#526c00c0]] | FALSE |
6 | 4 | [[#526c00c0]] | TRUE |
6 | 5 | [[#526c00c0]] | FALSE |
6 | 6 | [[#526c00c0]] | TRUE |
6 | 7 | [[#526c00c0]] | FALSE |
6 | 8 | [[#526c00c0]] | TRUE |
6 | 9 | [[#526c00c0]] | FALSE |
6 | 10 | [[#526c00c0]] | FALSE |
6 | 11 | [[#526c00c0]] | FALSE |
6 | 12 | [[#526c00c0]] | FALSE |
6 | 13 | [[#526c00c0]] | FALSE |
6 | 14 | [[#526c00c0]] | FALSE |
6 | 15 | [[#526c00c0]] | FALSE |
6 | 16 | [[#526c00c0]] | FALSE |
6 | 17 | [[#526c00c0]] | FALSE |
6 | 18 | [[#526c00c0]] | TRUE |
6 | 19 | [[#526c00c0]] | FALSE |