<?xml version="1.0"?><phpdoc><class name="Bs_EmailUtil" extends="Bs_Object" undoc="false" access="public" package="net/email"><file>C:/usr/local/lib/php/blueshoes-4.2/core/net/email/Bs_EmailUtil.class.php</file><doc><author>Andrej Arn &amp;lt;andrej at blueshoes dot org&amp;gt;</author><inherited src="Array"/><description>features:-missing:-dependencies: Bs_HtmlUtil</description><shortdescription>General pseudo-static email utility class.</shortdescription><version>4.0.$id$</version><copyright>blueshoes.org</copyright></doc><function name="Bs_EmailUtil" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>Constructor</shortdescription></doc></function><function name="parse" undoc="false" access="public"><doc><parameter name="$email" type="string"/><return name="" type="array">a zerobased array. 0=user 1=host</return><throws>bool FALSE</throws><description/><shortdescription>Validates the syntax of a given email address and parses it into it&amp;apos;s elements.</shortdescription></doc></function><function name="hideEmailWithJsDocumentWrite" undoc="false" access="public"><doc><see type="function">emailHidingWithJsOnMouseOver()</see><parameter name="$email" type="string"/><parameter name="$name" default="NULL," type="string">(default is NULL, which means use the $email address as &amp;apos;caption&amp;apos; aswell.)</parameter><parameter name="$cssClass" default="NULL" type="string">(if you want to apply a style sheet to the tag.)</parameter><return name="" type="string"> (html code)</return><throws>bool FALSE (if the given email address is invalid.)</throws><description>non-js browsers will see a readable version of the address using the noscripttag.this is browser-safe and emailspider safe.most, like 98% of the web users won&amp;apos;t notice a difference, and most, like99.9% of the email spiders won&amp;apos;t catch the address. use it!</description><shortdescription>uses javascripts document.write() function to spit out the address as link.</shortdescription></doc></function><function name="emailHidingWithJsOnMouseOver" undoc="false" access="public"><doc><see type="function">hideEmailWithJsDocumentWrite()</see><parameter name="$email" type="string"/><return name="" type="string"> (html code)</return><throws>bool FALSE (if the given email address is invalid.)</throws><description/><shortdescription/></doc></function><function name="toPronounceable" undoc="false" access="public"><doc><parameter name="$email" type="string"/><parameter name="$lang" default="&amp;apos;en&amp;apos;" type="mixed">(default is &amp;apos;en&amp;apos;, see above)</parameter><return type="void"/><description>these languages are supported: (texts are written in lower case here)CHARACTERLANGUAGE       @             .      _             -&amp;apos;en&amp;apos;           at            dot    underscore    dash&amp;apos;de&amp;apos;           at            punkt  unterstrich   strich&amp;apos;de2&amp;apos;          affenschwanz  punkt  unterstrich   minusyou can pass an array (vector with 4 elements) as param 2 ($lang) to useyour own text. make sure you use a space in front and at the end of thestrings, or feel free to use something else.EXAMPLES: (the results are not html-encoded here for better reading)htmlEncode(&amp;apos;tom.jones@hotmail.com&amp;apos;)        =&amp;gt; tom DOT jones AT hotmail DOT comhtmlEncode(&amp;apos;tom.jones@hotmail.com&amp;apos;, &amp;apos;de2&amp;apos;) =&amp;gt; tom PUNKT jones AFFENSCHWANZ hotmail PUNKT com</description><shortdescription>converts the given email address into a &amp;quot;pronounceable&amp;quot; string.</shortdescription></doc></function><function name="htmlEncode" undoc="false" access="public"><doc><parameter name="$email" type="string"/><return name="" type="string"/><description>this is just a wrapper for Bs_HtmlUtil-&amp;gt;charToHtml().</description><shortdescription>html-encodes the address.</shortdescription></doc></function><variable name="$Bs_HtmlUtil" access="private" type="object [unknown]"><doc><description/><shortdescription>reference to the pseudo-static instance.</shortdescription></doc></variable><constant name="BS_EMAILUTIL_VERSION" undoc="true" access="private" case="default: case sensitive">4.0.$x$<doc></doc></constant><inherited src="Bs_Object" type="functions"><element>isex</element><element>isexception</element><element>tostring</element><element>tohtml</element><element>persist</element><element>unpersist</element><element>bs_object</element><element>bbsetoutput</element><element>bbawake</element><element>bbisawake</element><element>bbxmsg</element><element>bbxfunctionstart</element><element>bbxfunctionend</element><element>bbxecho</element><element>bbxvar</element><element>bbxvardump</element><element>bbforcetrace</element><element>bbbufferstart</element><element>bbbufferget</element><element>bbbufferendflush</element><element>bbbufferendclean</element></inherited><inherited src="Bs_Object" type="consts"><element>bs_object_version</element></inherited><path><parent>Bs_Object</parent></path><baseclass>Bs_Object</baseclass></class></phpdoc>