CloneSet887


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.955class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17180
libraries/joomla/database/database/mysql.php
27197
libraries/joomla/database/database/mysqli.php
Clone Instance
1
Line Count
7
Source Line
180
Source File
libraries/joomla/database/database/mysql.php

        /**
         * Get a database escaped string
         *
         * @param       string  The string to be escaped
         * @param       boolean Optional parameter to provide extra escaping
         * @return      string
         * @access      public
         * @abstract
         */
        public

               function getEscaped($text, $extra=  FALSE) {

                $result=  mysql_real_escape_string($text, $this->_resource);
                if ($extra) {
                        $result=  addcslashes($result, '%_');
                      }
                return $result;
              }


Clone Instance
2
Line Count
7
Source Line
197
Source File
libraries/joomla/database/database/mysqli.php

        /**
         * Get a database escaped string
         *
         * @param       string  The string to be escaped
         * @param       boolean Optional parameter to provide extra escaping
         * @return      string
         * @access      public
         * @abstract
         */
        public

               function getEscaped($text, $extra=  FALSE) {

                $result=  mysqli_real_escape_string($this->_resource ,$text);
                if ($extra) {
                        $result=  addcslashes($result, '%_');
                      }
                return $result;
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Get a database escaped string
         *
         * @param       string  The string to be escaped
         * @param       boolean Optional parameter to provide extra escaping
         * @return      string
         * @access      public
         * @abstract
         */
public

      function getEscaped($text,$extra=FALSE) {
        $result= [[#variable3e61a8a0]]( [[#variable3e61a7c0]], [[#variable3e61a820]]);
        if ($extra) {
          $result=addcslashes($result,'%_');
        }
        return $result;
      }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3e61a8a0]]
mysqli_real_escape_string 
12[[#3e61a8a0]]
mysql_real_escape_string 
21[[#3e61a7c0]]
$this->_resource 
22[[#3e61a7c0]]
$text 
31[[#3e61a820]]
$text 
32[[#3e61a820]]
$this->_resource