Description

Mailto Link Obfuscator Class.

Located in /Mailto.php (line 38)


	
			
Variable Summary
Method Summary
Mailto Mailto ([string $encoding_type = 'rot13'])
string createLink (string $addr, string $content)
Variables
string $encoding_type (line 47)

The encoding type used for encryption

  • access: public
Methods
Constructor Mailto (line 65)

Class constructor.
Accepts a parameter

  1.    <?php
  2.    include 'Mailto.php';
  3.    $mailto new Mailto();
  4.    //$mailto = new Mailto('cc8b'); Use this line for cc8b
  5.    ?>
Mailto Mailto ([string $encoding_type = 'rot13'])
  • string $encoding_type: The encoding type used for encryption
createLink (line 86)

Create an encrypted mailto link using the e-mail address and content passed as parameters.

  1.    <?php
  2.    include 'Mailto.php';
  3.    $mailto new Mailto();
  4.    //$mailto = new Mailto('cc8b'); Use this line for cc8b
  5.    $mailto->createLink('spam@debuggeddesigns.com','Debugged Interactive Designs');
  6.    ?>
  • return: An encrypted anchor tag
string createLink (string $addr, string $content)
  • string $addr: The e-mail address you want to hide from spam harvesters
  • string $content: The term that will be clickable

Documentation generated by phpDocumentor 1.4.1