Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.997 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 78 | administrator/includes/toolbar.php |
2 | 9 | 99 | administrator/includes/toolbar.php |
| ||||
/** * Writes a custom option and task button for the button bar * * @param string The task to perform (picked up by the switch($task) blocks * @param string The image to display * @param string The image to display when moused over * @param string The alt text for the icon image * @param boolean True if required to check that a standard list item is checked * @since 1.0 */ function custom($task= '', $icon= '', $iconOver= '', $alt= '', $listSelect= TRUE) { $bar= & JToolBar::getInstance('toolbar'); //strip extension $icon= preg_replace('#\\.[^.]*$#','', $icon); // Add a standard button $bar->appendButton('Standard', $icon, $alt, $task, $listSelect); } |
| ||||
/** * Writes a custom option and task button for the button bar. * * @param string The task to perform (picked up by the switch($task) blocks * @param string The image to display * @param string The image to display when moused over * @param string The alt text for the icon image * @param boolean True if required to check that a standard list item is checked * @since 1.0 */ function customX($task= '', $icon= '', $iconOver= '', $alt= '', $listSelect= TRUE) { $bar= & JToolBar::getInstance('toolbar'); //strip extension $icon= preg_replace('#\\.[^.]*$#','', $icon); // Add a standard button $bar->appendButton('Standard', $icon, $alt, $task, $listSelect); } |
| |||
/** * Writes a custom option and task button for the button bar. * * @param string The task to perform (picked up by the switch($task) blocks * @param string The image to display * @param string The image to display when moused over * @param string The alt text for the icon image * @param boolean True if required to check that a standard list item is checked * @since 1.0 */ /** * Writes a custom option and task button for the button bar * * @param string The task to perform (picked up by the switch($task) blocks * @param string The image to display * @param string The image to display when moused over * @param string The alt text for the icon image * @param boolean True if required to check that a standard list item is checked * @since 1.0 */ function [[#variable3eb36a40]]($task='',$icon='',$iconOver='',$alt='',$listSelect=TRUE) { $bar= &JToolBar::getInstance('toolbar'); //strip extension $icon=preg_replace('#\\.[^.]*$#','',$icon); // Add a standard button $bar->appendButton('Standard',$icon,$alt,$task,$listSelect); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eb36a40]] | customX |
1 | 2 | [[#3eb36a40]] | custom |