| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 4 | 2 | 0.982 | class_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 286 | libraries/phpmailer/phpmailer.php |
| 2 | 4 | 300 | libraries/phpmailer/phpmailer.php |
| 3 | 4 | 314 | libraries/phpmailer/phpmailer.php |
| 4 | 4 | 326 | 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;
}
|
| ||||
/**
* 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;
}
|
| ||||
/**
* 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;
}
|
| ||||
/**
* 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;
}
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#53874660]] | AddReplyTo |
| 1 | 2 | [[#53874660]] | AddBCC |
| 1 | 3 | [[#53874660]] | AddCC |
| 1 | 4 | [[#53874660]] | AddAddress |
| 2 | 1 | [[#53874600]] | ReplyTo |
| 2 | 2 | [[#53874600]] | bcc |
| 2 | 3 | [[#53874600]] | cc |
| 2 | 4 | [[#53874600]] | to |