Class App : getRootDomainName Method


String getRootDomainName()

Summary

Allows you to investigate the domain name in the language file so you can determine certain functions or settings in the script.


Remarks

Each installation of DigiGuide contains a language file that contains an entry for the web site domain name.

This domain is different for different country specific product installations and as such this method is useful for redirecting a script to the right site.

In the case of the Recommendation.dgmarker script it allows the script to redirect to the right account system web site.


Returns


Returns the domain name stated in the language file for the installation of DigiGuide.

Currently it will be .digiguide.com for the UK version of DigiGuide.


Requirements

Build 1064