CloneSet309


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.982class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14286
libraries/phpmailer/phpmailer.php
24300
libraries/phpmailer/phpmailer.php
34314
libraries/phpmailer/phpmailer.php
44326
libraries/phpmailer/phpmailer.php
Clone Instance
1
Line Count
4
Source Line
286
Source File
libraries/phpmailer/phpmailer.php

    /////////////////////////////////////////////////
    // RECIPIENT METHODS
    /////////////////////////////////////////////////
    /**
     * Adds a "To" address.
     * @param string $address
     * @param string $name
     * @return void
     */
    function AddAddress($address, $name=  "") {
        $cur=  count($this->to);
        $this->to[$cur][0]=  trim($address);
        $this->to[$cur][1]=  $name;
      }


Clone Instance
2
Line Count
4
Source Line
300
Source File
libraries/phpmailer/phpmailer.php

    /**
     * Adds a "Cc" address. Note: this function works
     * with the SMTP mailer on win32, not with the "mail"
     * mailer.
     * @param string $address
     * @param string $name
     * @return void
    */
    function AddCC($address, $name=  "") {
        $cur=  count($this->cc);
        $this->cc[$cur][0]=  trim($address);
        $this->cc[$cur][1]=  $name;
      }


Clone Instance
3
Line Count
4
Source Line
314
Source File
libraries/phpmailer/phpmailer.php

    /**
     * Adds a "Bcc" address. Note: this function works
     * with the SMTP mailer on win32, not with the "mail"
     * mailer.
     * @param string $address
     * @param string $name
     * @return void
     */
    function AddBCC($address, $name=  "") {
        $cur=  count($this->bcc);
        $this->bcc[$cur][0]=  trim($address);
        $this->bcc[$cur][1]=  $name;
      }


Clone Instance
4
Line Count
4
Source Line
326
Source File
libraries/phpmailer/phpmailer.php

    /**
     * Adds a "Reply-to" address.
     * @param string $address
     * @param string $name
     * @return void
     */
    function AddReplyTo($address, $name=  "") {
        $cur=  count($this->ReplyTo);
        $this->ReplyTo[$cur][0]=  trim($address);
        $this->ReplyTo[$cur][1]=  $name;
      }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Adds a "Reply-to" address.
     * @param string $address
     * @param string $name
     * @return void
     */
/**
     * Adds a "Bcc" address. Note: this function works
     * with the SMTP mailer on win32, not with the "mail"
     * mailer.
     * @param string $address
     * @param string $name
     * @return void
     */
/**
     * Adds a "Cc" address. Note: this function works
     * with the SMTP mailer on win32, not with the "mail"
     * mailer.
     * @param string $address
     * @param string $name
     * @return void
    */
/////////////////////////////////////////////////
// RECIPIENT METHODS
/////////////////////////////////////////////////
/**
     * Adds a "To" address.
     * @param string $address
     * @param string $name
     * @return void
     */
function [[#variable53874660]]($address,$name="") {
  $cur=count($this-> [[#variable53874600]]);
  $this-> [[#variable53874600]][$cur][0]=trim($address);
  $this-> [[#variable53874600]][$cur][1]=$name;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#53874660]]
AddReplyTo 
12[[#53874660]]
AddBCC 
13[[#53874660]]
AddCC 
14[[#53874660]]
AddAddress 
21[[#53874600]]
ReplyTo 
22[[#53874600]]
bcc 
23[[#53874600]]
cc 
24[[#53874600]]
to