CloneSet1565


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.974class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16540
plugins/content/geshi/geshi.php
26597
plugins/content/geshi/geshi.php
Clone Instance
1
Line Count
6
Source Line
540
Source File
plugins/content/geshi/geshi.php

    /**
     * Sets the styles for the code that will be outputted
     * when this object is parsed. The style should be a
     * string of valid stylesheet declarations
     *
     * @param string  The overall style for the outputted code block
     * @param boolean Whether to merge the styles with the current styles or not
     * @since 1.0.0
     */
    function set_overall_style($style, $preserve_defaults=  FALSE) {
        if (!$preserve_defaults) {
            $this->overall_style = $style;
          }
        else {
            $this->overall_style .= $style;
          }
      }


Clone Instance
2
Line Count
6
Source Line
597
Source File
plugins/content/geshi/geshi.php

    /**
     * Sets the style for the actual code. This should be a string
     * containing valid stylesheet declarations. If $preserve_defaults is
     * true, then styles are merged with the default styles, with the
     * user defined styles having priority
     *
     * Note: Use this method to override any style changes you made to
     * the line numbers if you are using line numbers, else the line of
     * code will have the same style as the line number! Consult the
     * GeSHi documentation for more information about this.
     *
     * @param string  The style to use for actual code
     * @param boolean Whether to merge the current styles with the new styles
     */
    function set_code_style($style, $preserve_defaults=  FALSE) {
        if (!$preserve_defaults) {
            $this->code_style = $style;
          }
        else {
            $this->code_style .= $style;
          }
      }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the style for the actual code. This should be a string
     * containing valid stylesheet declarations. If $preserve_defaults is
     * true, then styles are merged with the default styles, with the
     * user defined styles having priority
     *
     * Note: Use this method to override any style changes you made to
     * the line numbers if you are using line numbers, else the line of
     * code will have the same style as the line number! Consult the
     * GeSHi documentation for more information about this.
     *
     * @param string  The style to use for actual code
     * @param boolean Whether to merge the current styles with the new styles
     */
/**
     * Sets the styles for the code that will be outputted
     * when this object is parsed. The style should be a
     * string of valid stylesheet declarations
     *
     * @param string  The overall style for the outputted code block
     * @param boolean Whether to merge the styles with the current styles or not
     * @since 1.0.0
     */
function [[#variable46d01200]]($style,$preserve_defaults=FALSE) {
  if (!$preserve_defaults) {
    $this-> [[#variable46d01180]]=$style;
  }
  else {
    $this-> [[#variable46d01180]].=$style;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46d01200]]
set_code_style 
12[[#46d01200]]
set_overall_style 
21[[#46d01180]]
code_style 
22[[#46d01180]]
overall_style