Example #1
0
 function emit()
 {
     /* Step 1: Generate HTML string */
     $estr = '<a ';
     /* HREF */
     $estr .= 'href="' . $this->url . '" ';
     /* Title */
     if (null != $this->meta) {
         $estr .= 'title="' . $this->meta . '" ';
     }
     /* Any other attributes */
     foreach ($this->attributes as $a) {
         $estr .= $a;
     }
     /* Close start tag */
     $estr .= '>';
     /* Label */
     $estr .= $this->label;
     /* End tag */
     $estr .= '</a>';
     /* Emit it */
     string_obfuscate($estr, $this->ob_type);
 }
Example #2
0
function html_email($addr = 'nobody@nowhere')
{
    string_obfuscate($addr, OBFUSCATE_CHUNK);
}