Returns the complete site URL, including protocol as a string. Eg: 'http://www.example.com'.
STRING
$this->sitesettings->getURL();
<a href="<?php echo htmlspecialchars($this->sitesettings->getURL()) ?>"><?php echo htmlspecialchars($this->sitesettings->getSetting('core' , 'sitename')) ?></a>