CloneSet564


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.966abstract_class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113170
libraries/joomla/mail/mail.php
213194
libraries/joomla/mail/mail.php
Clone Instance
1
Line Count
13
Source Line
170
Source File
libraries/joomla/mail/mail.php

        /**
         * Add carbon copy recipients to the email
         *
         * @param       mixed   $cc     Either a string or array of strings [e-mail address(es)]
         * @return      void
         * @since       1.5
         */
        public

               function addCC($cc) {

                //If the carbon copy recipient is an aray, add each recipient... otherwise just add the one
                if ( isset ($cc))
                {
                        if (is_array($cc)) {
                                foreach ($cc as $to) {
                                        $to=  JMailHelper::cleanLine($to);
                                        parent::AddCC($to);
                                      }
                              }
                        else   {
                                $cc=  JMailHelper::cleanLine($cc);
                                parent::AddCC($cc);
                              }
                      }
              }


Clone Instance
2
Line Count
13
Source Line
194
Source File
libraries/joomla/mail/mail.php

        /**
         * Add blind carbon copy recipients to the email
         *
         * @param       mixed   $cc     Either a string or array of strings [e-mail address(es)]
         * @return      void
         * @since       1.5
         */
        public

               function addBCC($bcc) {

                // If the blind carbon copy recipient is an aray, add each recipient... otherwise just add the one
                if ( isset ($bcc))
                {
                        if (is_array($bcc)) {
                                foreach ($bcc as $to) {
                                        $to=  JMailHelper::cleanLine($to);
                                        parent::AddBCC($to);
                                      }
                              }
                        else   {
                                $bcc=  JMailHelper::cleanLine($bcc);
                                parent::AddBCC($bcc);
                              }
                      }
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Add carbon copy recipients to the email
         *
         * @param       mixed   $cc     Either a string or array of strings [e-mail address(es)]
         * @return      void
         * @since       1.5
         */
/**
         * Add blind carbon copy recipients to the email
         *
         * @param       mixed   $cc     Either a string or array of strings [e-mail address(es)]
         * @return      void
         * @since       1.5
         */
public

      function [[#variable3ee74d40]]( [[#variable3ee74ca0]]) {
        //If the carbon copy recipient is an aray, add each recipient... otherwise just add the one
        // If the blind carbon copy recipient is an aray, add each recipient... otherwise just add the one
        if ( isset ( [[#variable3ee74ca0]])) {
          if (is_array( [[#variable3ee74ca0]])) {
            foreach ( [[#variable3ee74ca0]]as $to) {
              $to=JMailHelper::cleanLine($to);
              parent:: [[#variable3ee74c40]]($to);
            }
          }
          else {
             [[#variable3ee74ca0]]=JMailHelper::cleanLine( [[#variable3ee74ca0]]);
            parent:: [[#variable3ee74c40]]( [[#variable3ee74ca0]]);
          }
        }
      }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3ee74d40]]
addCC 
12[[#3ee74d40]]
addBCC 
21[[#3ee74ca0]]
$cc 
22[[#3ee74ca0]]
$bcc 
31[[#3ee74c40]]
AddCC 
32[[#3ee74c40]]
AddBCC