CloneSet544


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.997class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1978
administrator/includes/toolbar.php
2999
administrator/includes/toolbar.php
Clone Instance
1
Line Count
9
Source Line
78
Source File
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);
              }


Clone Instance
2
Line Count
9
Source Line
99
Source File
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 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);
              }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
        * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3eb36a40]]
customX 
12[[#3eb36a40]]
custom