<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxUrlConverter"></a>mxUrlConverter</h1><divclass=CBody><p>Converts relative and absolute URLs to absolute URLs with protocol and domain.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxUrlConverter">mxUrlConverter</a></td><tdclass=SDescription>Converts relative and absolute URLs to absolute URLs with protocol and domain.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxUrlConverter.Variables">Variables</a></td><tdclass=SDescription></td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.enabled"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">enabled</a></td><tdclass=SDescription>Specifies if the converter is enabled. </td></tr><trclass="SVariable SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.baseUrl"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">baseUrl</a></td><tdclass=SDescription>Specifies the base URL to be used as a prefix for relative URLs.</td></tr><trclass="SVariable SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.baseDomain"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">baseDomain</a></td><tdclass=SDescription>Specifies the base domain to be used as a prefix for absolute URLs.</td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxUrlConverter.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.isEnabled"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">isEnabled</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.enabled"class=LVariableid=link5onMouseOver="ShowTip(event, 'tt1', 'link5')"onMouseOut="HideTip('tt1')">enabled</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.setEnabled"id=link6onMouseOver="ShowTip(event, 'tt5', 'link6')"onMouseOut="HideTip('tt5')">setEnabled</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConverter.enabled"class=LVariableid=link7onMouseOver="ShowTip(event, 'tt1', 'link7')"onMouseOut="HideTip('tt1')">enabled</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.getBaseUrl"id=link8onMouseOver="ShowTip(event, 'tt6', 'link8')"onMouseOut="HideTip('tt6')">getBaseUrl</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.baseUrl"class=LVariableid=link9onMouseOver="ShowTip(event, 'tt2', 'link9')"onMouseOut="HideTip('tt2')">baseUrl</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.setBaseUrl"id=link10onMouseOver="ShowTip(event, 'tt7', 'link10')"onMouseOut="HideTip('tt7')">setBaseUrl</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConverter.baseUrl"class=LVariableid=link11onMouseOver="ShowTip(event, 'tt2', 'link11')"onMouseOut="HideTip('tt2')">baseUrl</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.getBaseDomain"id=link12onMouseOver="ShowTip(event, 'tt8', 'link12')"onMouseOut="HideTip('tt8')">getBaseDomain</a></td><tdclass=SDescription>Returns <ahref="#mxUrlConverter.baseDomain"class=LVariableid=link13onMouseOver="ShowTip(event, 'tt3', 'link13')"onMouseOut="HideTip('tt3')">baseDomain</a>.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#mxUrlConverter.setBaseDomain"id=link14onMouseOver="ShowTip(event, 'tt9', 'link14')"onMouseOut="HideTip('tt9')">setBaseDomain</a></td><tdclass=SDescription>Sets <ahref="#mxUrlConverter.baseDomain"class=LVariableid=link15onMouseOver="ShowTip(event, 'tt3', 'link15')"onMouseOut="HideTip('tt3')">baseDomain</a>.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxUrlConverter.convert"id=link16onMouseOver="ShowTip(event,'tt10','link16'
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.enabled"></a>enabled</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var enabled</td></tr></table></blockquote><p>Specifies if the converter is enabled. Default is true.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.baseUrl"></a>baseUrl</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var baseUrl</td></tr></table></blockquote><p>Specifies the base URL to be used as a prefix for relative URLs.</p></div></div></div>
<divclass="CVariable"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.baseDomain"></a>baseDomain</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var baseDomain</td></tr></table></blockquote><p>Specifies the base domain to be used as a prefix for absolute URLs.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxUrlConverter.convert"></a>convert</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>convert: function(</td><tdclass=PParameternowrap>url</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Converts the given URL to an absolute URL with protol and domain. Relative URLs are first converted to absolute URLs.</p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var enabled</td></tr></table></blockquote>Specifies if the converter is enabled. </div></div><divclass=CToolTipid="tt2"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var baseUrl</td></tr></table></blockquote>Specifies the base URL to be used as a prefix for relative URLs.</div></div><divclass=CToolTipid="tt3"><divclass=CVariable><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>var baseDomain</td></tr></table></blockquote>Specifies the base domain to be used as a prefix for absolute URLs.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>isEnabled: function()</td></tr></table></blockquote>Returns enabled.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>setEnabled: function(</td><tdclass=PParameternowrap>value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets enabled.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>getBaseUrl: function()</td></tr></table></blockquote>Returns baseUrl.</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>setBaseUrl: function(</td><tdclass=PParameternowrap>value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets baseUrl.</div></div><divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td>getBaseDomain: function()</td></tr></table></blockquote>Returns baseDomain.</div></div><divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>setBaseDomain: function(</td><tdclass=PParameternowrap>value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Sets baseDomain.</div></div><divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>convert: function(</td><tdclass=PParameternowrap>url</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Converts the given URL to an absolute URL with protol and domain. </div></div><!--END_ND_TOOLTIPS-->